Partager via


TeamFoundationTrace.Warning Method (String, array<Object )

Writes a warning message to the trace output.

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

Syntax

'Declaration
Public Shared Sub Warning ( _
    format As String, _
    ParamArray args As Object() _
)
public static void Warning(
    string format,
    params Object[] args
)
public:
static void Warning(
    String^ format, 
    ... array<Object^>^ args
)
static member Warning : 
        format:string * 
        args:Object[] -> unit
public static function Warning(
    format : String, 
    ... args : Object[]
)

Parameters

  • format
    Type: System.String

    The string format to which args is applied.

Remarks

Uses the General category and Warning level.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

Warning Overload

Microsoft.TeamFoundation Namespace