This documentation is archived and is not being maintained.
AdminTraceLogger::Warning Method (Exception)
Visual Studio 2013
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)
Parameters
- exception
- Type: System::Exception
An exception to write to the trace. Null is allowed.
Implements
ITFLogger::Warning(Exception)- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: