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.StringA 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
- 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.