다음을 통해 공유


TeamFoundationTrace.TraceException Method (TraceType, Exception)

Write an exception to the trace output with the specified category.

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

Syntax

‘선언
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

Remarks

Uses the General category and Error level.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

TraceException Overload

Microsoft.TeamFoundation Namespace