Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Write an exception to the trace output with the specified category.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Sub TraceException ( _
message As String, _
method As String, _
exception As Exception _
)
public static void TraceException(
string message,
string method,
Exception exception
)
public:
static void TraceException(
String^ message,
String^ method,
Exception^ exception
)
static member TraceException :
message:string *
method:string *
exception:Exception -> unit
public static function TraceException(
message : String,
method : String,
exception : Exception
)
Parameters
message
Type: System.StringAn application defined category. May be null.
method
Type: System.StringAn application defined method. May be null.
exception
Type: System.ExceptionThe 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.