MemoryConflictLog Constructor (SyncIdFormatGroup, IConflictLogAccess)

Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema and conflict log reader.

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

public:
MemoryConflictLog(
	SyncIdFormatGroup^ idFormats, 
	IConflictLogAccess^ conflictLogReader
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
conflictLogReader
Type: Microsoft.Synchronization::IConflictLogAccess
The conflict log reader that represents the conflict log of the provider.

ExceptionCondition
ArgumentNullException

idFormats is a nullptr.

When this constructor is used, the MemoryConflictLog object chains calls to the methods of conflictLogReader. This allows the change applier to find and delete conflicts in the conflict log of the provider. However, new conflicts saved to the log will not be saved to the conflict log of the provider and will be discarded when synchronization completes.

Show: