This documentation is archived and is not being maintained.

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)

public:
static void TraceException(
	String^ message, 
	String^ method, 
	Exception^ exception
)

Parameters

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

Uses the General category and Error level.

Show: