Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Formats the specified Exception, including all inner exceptions.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Function FormatException ( _
exception As Exception, _
useBriefFormat As Boolean _
) As String
public static string FormatException(
Exception exception,
bool useBriefFormat
)
public:
static String^ FormatException(
Exception^ exception,
bool useBriefFormat
)
static member FormatException :
exception:Exception *
useBriefFormat:bool -> string
public static function FormatException(
exception : Exception,
useBriefFormat : boolean
) : String
Parameters
exception
Type: System.ExceptionThe top-level exception to format.
useBriefFormat
Type: System.BooleanOmits exception details form the retur value.
Return Value
Type: System.String
A formatted string that describes the exception and the nested inner exceptions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.