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.
- 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.