Share via


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)

Syntax

'Declaration
Public Sub New ( _
    idFormats As SyncIdFormatGroup, _
    conflictLogReader As IConflictLogAccess _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim conflictLogReader As IConflictLogAccess

Dim instance As New MemoryConflictLog(idFormats, _
    conflictLogReader)
public MemoryConflictLog(
    SyncIdFormatGroup idFormats,
    IConflictLogAccess conflictLogReader
)
public:
MemoryConflictLog(
    SyncIdFormatGroup^ idFormats, 
    IConflictLogAccess^ conflictLogReader
)
new : 
        idFormats:SyncIdFormatGroup * 
        conflictLogReader:IConflictLogAccess -> MemoryConflictLog
public function MemoryConflictLog(
    idFormats : SyncIdFormatGroup, 
    conflictLogReader : IConflictLogAccess
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

idFormats is a null reference (Nothing in Visual Basic).

Remarks

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.

See Also

Reference

MemoryConflictLog Class

MemoryConflictLog Overload

Microsoft.Synchronization Namespace