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