This documentation is archived and is not being maintained.

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

Write an exception to the trace output and Debug.Fail with the exception message

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

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

Parameters

keywords
Type: array<System::String>

One or more keywords

exception
Type: System::Exception

The exception to be traced.

Show: