TeamFoundationTrace.TraceException Method (Exception)
Write an exception to the trace output.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaración
Public Shared Sub TraceException ( _
exception As Exception _
)
public static void TraceException(
Exception exception
)
public:
static void TraceException(
Exception^ exception
)
static member TraceException :
exception:Exception -> unit
public static function TraceException(
exception : Exception
)
Parameters
- exception
Type: System.Exception
The exception to be traced.
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.