Partager via


TeamFoundationTrace.TraceException Method (Exception)

Write an exception to the trace output.

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

Syntax

'Declaration
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

Remarks

Uses the General category and Error level.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

TraceException Overload

Microsoft.TeamFoundation Namespace