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
)
public MemoryConflictLog (
SyncIdFormatGroup idFormats,
IConflictLogAccess conflictLogReader
)
public function MemoryConflictLog (
idFormats : SyncIdFormatGroup,
conflictLogReader : IConflictLogAccess
)
Parameters
- idFormats
The ID format schema of the provider.
- conflictLogReader
The conflict log reader that represents the conflict log of the provider.
Exceptions
Exception type | Condition |
---|---|
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 Members
Microsoft.Synchronization Namespace