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
- traceCategory
Type: Microsoft.TeamFoundation.TraceType
The trace category.
- info
Type: System.String
The message to write.
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.