Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Write an exception to the trace category output.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Sub TraceException ( _
keywords As String(), _
exception As Exception _
)
public static void TraceException(
string[] keywords,
Exception exception
)
public:
static void TraceException(
array<String^>^ keywords,
Exception^ exception
)
static member TraceException :
keywords:string[] *
exception:Exception -> unit
public static function TraceException(
keywords : String[],
exception : Exception
)
Parameters
keywords
Type: array<System.String[]One or more keywords
exception
Type: System.ExceptionThe exception to be traced.
.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.