This documentation is archived and is not being maintained.

AdminTraceLogger::Error Method (Exception)

Formats an exception and writes it as an error message to the trace.

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

public:
virtual void Error(
	Exception^ exception
) sealed

Parameters

exception
Type: System::Exception

An exception to write to the trace. Null is allowed.

Implements

ITFLogger::Error(Exception)

Show: