다음을 통해 공유


AdminTraceLogger.Warning Method (String, array<Object )

Writes 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)

Syntax

'Declaration
Public Sub Warning ( _
    format As String, _
    ParamArray args As Object() _
)
public void Warning(
    string format,
    params Object[] args
)
public:
virtual void Warning(
    String^ format, 
    ... array<Object^>^ args
) sealed
abstract Warning : 
        format:string * 
        args:Object[] -> unit  
override Warning : 
        format:string * 
        args:Object[] -> unit
public final function Warning(
    format : String, 
    ... args : Object[]
)

Parameters

  • format
    Type: System.String

    A format string that contains zero or more format items, which correspond to objects in the args array.

  • args
    Type: array<System.Object[]

    An object array containing zero or more objects to format.

Implements

ITFLogger.Warning(String, array<Object[])

.NET Framework Security

See Also

Reference

AdminTraceLogger Class

Warning Overload

Microsoft.TeamFoundation.Common Namespace