Bagikan melalui


TeamFoundationTrace.Warning Method (TraceType, String)

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 ( _
    traceCategory As TraceType, _
    info As String _
)
public static void Warning(
    TraceType traceCategory,
    string info
)
public:
static void Warning(
    TraceType traceCategory, 
    String^ info
)
static member Warning : 
        traceCategory:TraceType * 
        info:string -> unit 
public static function Warning(
    traceCategory : TraceType, 
    info : String
)

Parameters

Remarks

Uses the specified trace category and Warning level.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

Warning Overload

Microsoft.TeamFoundation Namespace