Sdílet prostřednictvím


IConflictLogWriter Interface

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

interface IConflictLogWriter : IUnknown

Members

IConflictLogWriter method Description

IConflictLogWriter::SaveConflict

Saves information about a change that caused a concurrency conflict.

IConflictLogWriter::SaveConstraintConflict

Saves information about a change that caused a constraint conflict.

Remarks

The implementation of IMemoryConflictLog that is provided by Sync Framework uses an IConflictLogWriter interface to save conflicts to a persistent conflict log when IMemoryConflictLog::Persist is called.

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

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components
Logging and Managing Conflicts