Sdílet prostřednictvím


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 _
)
public static void Warning (
    int indentLevel,
    string message
)
public:
static void Warning (
    int indentLevel, 
    String^ message
)
public static void Warning (
    int indentLevel, 
    String message
)
public static function Warning (
    indentLevel : int, 
    message : String
)

Parameters

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

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