Freigeben über


AdminTraceLogger.Warning-Methode (Exception)

Formatiert eine Ausnahme und schreibt sie als Warnmeldung zur Ablaufverfolgung, vorausgesetzt, dass TraceLevel dieser Protokollierung auf TraceLevel.Warning, TraceLevel.Information oder TraceLevel.Verbose festgelegt wird.

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

Syntax

'Declaration
Public Sub Warning ( _
    exception As Exception _
)
public void Warning(
    Exception exception
)

Parameter

  • exception
    Typ: System.Exception
    Eine zur Ablaufverfolgung zu schreiben, Ausnahme.NULL wird ermöglicht.

Implements

ITFLogger.Warning(Exception)

.NET Framework-Sicherheit

Siehe auch

Referenz

AdminTraceLogger Klasse

Warning-Überladung

Microsoft.TeamFoundation.Common-Namespace