MemoryConflictLog Class

Represents a conflict log that exists in memory.

System.Object
  Microsoft.Synchronization.MemoryConflictLog

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

public class MemoryConflictLog : IConflictLogAccess, 
	IConflictLogWriter

The MemoryConflictLog type exposes the following members.

  NameDescription
Public methodMemoryConflictLog(SyncIdFormatGroup)Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema.
Public methodMemoryConflictLog(SyncIdFormatGroup, IConflictLogAccess)Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema and conflict log reader.
Public methodMemoryConflictLog(SyncIdFormatGroup, IConflictLogWriter)Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema and conflict log writer.
Public methodMemoryConflictLog(SyncIdFormatGroup, IConflictLogAccess, IConflictLogWriter)Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema, conflict log reader, and conflict log writer.
Top

  NameDescription
Public propertyInMemoryConflictLogKnowledgeGets a knowledge object that contains a union of all the conflict knowledge objects that are contained in the conflict log.
Top

  NameDescription
Public methodDeleteConflictsRemoves the specified conflicts from the log.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetAllConflictsGets a list that contains all of the conflicts in the log.
Public methodGetConflictsByConflictingItemIdGets a list that contains either all of the conflicts in the log, or only the conflicts that conflict with at least one of the items in the specified list of requested items.
Public methodGetHashCode (Inherited from Object.)
Public methodGetItemConflictsGets a list that contains either all of the conflicts in the log, or only the conflicts that are identified by the specified list of requested items.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPersistWrites the contents of the conflict log to the conflict log writer specified in the constructor.
Public methodSaveConflictSaves information about a change that caused a concurrency conflict.
Public methodSaveConstraintConflictSaves information about a change that caused a constraint conflict.
Public methodToString (Inherited from Object.)
Top

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.

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