SyncTracer.Error Method (Int32, String)

Generates an error 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 Error ( _
    indentLevel As Integer, _
    message As String _
)
'Usage
Dim indentLevel As Integer
Dim message As String

SyncTracer.Error(indentLevel, message)
public static void Error(
    int indentLevel,
    string message
)
public:
static void Error(
    int indentLevel, 
    String^ message
)
static member Error : 
        indentLevel:int * 
        message:string -> unit 
public static function Error(
    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

Error Overload

Microsoft.Synchronization.Data Namespace