Udostępnij za pośrednictwem


MemoryConflictLog Class

Represents a conflict log that exists in memory.

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

Syntax

'Declaration
Public Class MemoryConflictLog
    Implements IConflictLogAccess, IConflictLogWriter
'Usage
Dim instance As MemoryConflictLog
public class MemoryConflictLog : IConflictLogAccess, IConflictLogWriter
public ref class MemoryConflictLog : IConflictLogAccess, IConflictLogWriter
public class MemoryConflictLog implements IConflictLogAccess, IConflictLogWriter
public class MemoryConflictLog implements IConflictLogAccess, IConflictLogWriter

Remarks

The MemoryConflictLog class implements the IConflictLogAccess interface for a destination provider that either does not implement its own conflict log, or needs the faster performance of the in-memory log during synchronization.

When a provider does not implement a conflict log, it must use this form of the constructor: MemoryConflictLog.

When a provider implements its own conflict log but uses the in-memory conflict log during synchronization, it may give access to its conflict log by specifying an IConflictLogAccess object to MemoryConflictLog. The in-memory conflict log will then chain IConflictLogAccess method calls to the conflict log of the provider so that the change applier can find and delete conflicts in the conflict log of the provider.

When a provider implements its own conflict log, it may also specify an IConflictLogWriter object to MemoryConflictLog, and call Persist after synchronization has completed, to save any new conflicts to the persistent conflict log.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.MemoryConflictLog

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MemoryConflictLog Members
Microsoft.Synchronization Namespace