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() _
)
'Usage
Dim indentLevel As Integer
Dim format As String
Dim args As Object()

SyncTracer.Warning(indentLevel, format, args)
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.

See Also

Reference

SyncTracer Class
SyncTracer Members
Microsoft.Synchronization.Data Namespace