다음을 통해 공유


TeamFoundationTrace.TraceException Method (String, String, 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 ( _
    category As String, _
    method As String, _
    exception As Exception _
)
public static void TraceException(
    string category,
    string method,
    Exception exception
)
public:
static void TraceException(
    String^ category, 
    String^ method, 
    Exception^ exception
)
static member TraceException : 
        category:string * 
        method:string * 
        exception:Exception -> unit 
public static function TraceException(
    category : String, 
    method : String, 
    exception : Exception
)

Parameters

  • category
    Type: System.String
    An application defined category. May be null.
  • method
    Type: System.String
    An application defined method. May be null.

Remarks

Uses the General category and Error level.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

TraceException Overload

Microsoft.TeamFoundation Namespace