-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_ExceptionExtensions_ToDiagnosticString_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Returns detailed exception text.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static StringBuilder ToDiagnosticString(
this Exception exception,
StringBuilder stringBuilder
)
VB
<ExtensionAttribute>
Public Shared Function ToDiagnosticString (
exception As Exception,
stringBuilder As StringBuilder
) As StringBuilder
F#
[<ExtensionAttribute>]
static member ToDiagnosticString :
exception : Exception *
stringBuilder : StringBuilder -> StringBuilder
- exception
- Type: System.Exception
Exception to process. - stringBuilder
- Type: System.Text.StringBuilder
StringBuilder instance.
Type: StringBuilder
Detailed exception text.
In Visual Basic and C#, you can call this method as an instance method on any object of type Exception. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
ExceptionExtensions Class
ToDiagnosticString Overload
CodeJam Namespace