This documentation is archived and is not being maintained.

TeamFoundationTrace::Error Method (String, Exception)

Write an exception to the trace output.

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

public:
static void Error(
	String^ info, 
	Exception^ exception
)

Parameters

info
Type: System::String

The message giving exception context.

exception
Type: System::Exception

The exception to write.

Uses the General category and Error level.

Show: