SyncTracer.Warning Method (Int32, String)

Generates a warning trace when the indentLevel and message 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, _
    message As String _
)
'Usage
Dim indentLevel As Integer
Dim message As String

SyncTracer.Warning(indentLevel, message)
public static void Warning(
    int indentLevel,
    string message
)
public:
static void Warning(
    int indentLevel, 
    String^ message
)
static member Warning : 
        indentLevel:int * 
        message:string -> unit 
public static function Warning(
    indentLevel : int, 
    message : String
)

Parameters

  • indentLevel
    Type: System.Int32
    An integer that represents the number of spaces to indent a message. A value of 1 equals three spaces.
  • message
    Type: System.String
    The message to output in the trace.

See Also

Reference

SyncTracer Class

Warning Overload

Microsoft.Synchronization.Data Namespace