SyncTracer Class

Provides tracing for a synchronization session, with four levels of output: errors, warnings, informational, and verbose.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public NotInheritable Class SyncTracer
'Usage
The members of a static class are accessed directly without an instance of the class.
public static class SyncTracer
public ref class SyncTracer abstract sealed
public final class SyncTracer
public final class SyncTracer

Remarks

Tracing involves recording application operations, data, and metadata, and providing this information to a listener. A listener frequently writes trace information to a file, but could also handle the information in other ways. Sync Services includes tracing for the client and server synchronization providers. In distributed applications, tracing can be very important because it enables you to troubleshoot issues that might otherwise be difficult to discover.

Tracing in Sync Services is composed of the following components:

  • A tracing infrastructure that is based on the .NET Framework implementation of tracing, specifically the TraceListener class. The most important operations of the client and server providers are traced, and key metadata is provided to one or more listeners.

  • The SyncTracer object. This enables you to determine which level of tracing is enabled and to write messages to the trace output based on application events.

For more information, see How to: Trace the Synchronization Process.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.SyncTracer

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.

See Also

Reference

SyncTracer Members
Microsoft.Synchronization.Data Namespace