This documentation is archived and is not being maintained.

TeamFoundationTrace::TraceException Method (array<String>, String, Exception)

Write an exception to the trace output

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
static void TraceException(
	array<String^>^ keywords, 
	String^ method, 
	Exception^ exception
)

Parameters

keywords
Type: array<System::String>

One or more keywords

method
Type: System::String

An application defined method (may be null)

exception
Type: System::Exception

The exception that should be traced

The exception is traced using the General keyword, trace level Error

Show: