Share via


IConflictLogWriter Interface

When implemented by a derived class, represents a writer that saves conflicts to a conflict log.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Public Interface IConflictLogWriter
'Usage
Dim instance As IConflictLogWriter
public interface IConflictLogWriter
public interface class IConflictLogWriter
type IConflictLogWriter =  interface end
public interface IConflictLogWriter

The IConflictLogWriter type exposes the following members.

Methods

  Name Description
Public method SaveConflict When overridden in a derived class, saves information about a change that caused a concurrency conflict.
Public method SaveConstraintConflict When overridden in a derived class, saves information about a change that caused a constraint conflict.

Top

Remarks

The MemoryConflictLog class that is provided by Sync Framework uses an IConflictLogWriter interface to save conflicts to a persistent conflict log when Persist is called.

The IConflictLogWriter method signatures exactly match those of the SaveConflict and SaveConstraintConflict methods so that a destination provider can use the same implementation for all of these interfaces.

See Also

Reference

Microsoft.Synchronization Namespace

Other Resources

Logging and Managing Conflicts