Condividi tramite


ExceptionFormatter.FormatExceptionForDisplay Method

Formats the specified exception to be displayed and read by a user.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Shared Function FormatExceptionForDisplay ( _
    ex As Exception _
) As String
public static string FormatExceptionForDisplay(
    Exception ex
)
public:
static String^ FormatExceptionForDisplay(
    Exception^ ex
)
static member FormatExceptionForDisplay : 
        ex:Exception -> string
public static function FormatExceptionForDisplay(
    ex : Exception
) : String

Parameters

Return Value

Type: System.String
A user-readable string describing the exception.

.NET Framework Security

See Also

Reference

ExceptionFormatter Class

Microsoft.TeamFoundation.Common Namespace