Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Write an exception to the trace output with the specified category.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Sub TraceException ( _
traceCategory As TraceType, _
exception As Exception _
)
public static void TraceException(
TraceType traceCategory,
Exception exception
)
public:
static void TraceException(
TraceType traceCategory,
Exception^ exception
)
static member TraceException :
traceCategory:TraceType *
exception:Exception -> unit
public static function TraceException(
traceCategory : TraceType,
exception : Exception
)
Parameters
- traceCategory
Type: Microsoft.TeamFoundation.TraceType
The trace category.
- exception
Type: System.Exception
The exception to trace.
Remarks
Uses the General category and Error level.
.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.