SyncTracer.Warning Method (Int32, String, Object[])
Generates a warning trace when the indentLevel, format, and args parameters are specified.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Shared Sub Warning ( _
indentLevel As Integer, _
format As String, _
ParamArray args As Object() _
)
public static void Warning (
int indentLevel,
string format,
params Object[] args
)
public:
static void Warning (
int indentLevel,
String^ format,
... array<Object^>^ args
)
public static void Warning (
int indentLevel,
String format,
Object[] args
)
public static function Warning (
indentLevel : int,
format : String,
... args : Object[]
)
Parameters
- indentLevel
An integer that represents the number of spaces to indent a message. A value of 1 equals three spaces.
- format
A string that contains zero or more indexed placeholders that correspond to objects in the args list of this method.
- args
An Object array that contains zero or more objects to format.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).
Target Platforms
See Also
Reference
SyncTracer Class
SyncTracer Members
Microsoft.Synchronization.Data Namespace