This documentation is archived and is not being maintained.

AdminTraceLogger::Warning Method (Exception)

Formats an exception and writes it as a warning message to the trace, provided that TraceLevel of this logger is set to TraceLevel.Warning, TraceLevel.Info or TraceLevel.Verbose.

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

public:
virtual void Warning(
	Exception^ exception
) sealed

Parameters

exception
Type: System::Exception

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

Implements

ITFLogger::Warning(Exception)

Show: