Skip to content

M_CodeJam_ExceptionExtensions_ToDiagnosticString

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

ExceptionExtensions.ToDiagnosticString Method (Exception)

Returns detailed exception text.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static string ToDiagnosticString(
	this Exception exception
)

VB

<ExtensionAttribute>
Public Shared Function ToDiagnosticString ( 
	exception As Exception
) As String

F#

[<ExtensionAttribute>]
static member ToDiagnosticString : 
        exception : Exception -> string 

Parameters

 

exception
Type: System.Exception
Exception to process.

Return Value

Type: String
Detailed exception text.

Usage Note

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).

See Also

Reference

ExceptionExtensions Class
ToDiagnosticString Overload
CodeJam Namespace

Clone this wiki locally