TeamFoundationTrace.Warning Method (TraceType, String, array<Object )
Writes a warning message to the trace output.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
‘선언
Public Shared Sub Warning ( _
traceCategory As TraceType, _
format As String, _
ParamArray args As Object() _
)
public static void Warning(
TraceType traceCategory,
string format,
params Object[] args
)
public:
static void Warning(
TraceType traceCategory,
String^ format,
... array<Object^>^ args
)
static member Warning :
traceCategory:TraceType *
format:string *
args:Object[] -> unit
public static function Warning(
traceCategory : TraceType,
format : String,
... args : Object[]
)
Parameters
- traceCategory
Type: Microsoft.TeamFoundation.TraceType
The trace category.
- format
Type: System.String
The string format to which args is applied.
- args
Type: array<System.Object[]
One or more arguments.
Remarks
Uses the specified trace category and Warning level.
.NET Framework Security
- 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.