MemoryConflictLog Class
Represents a conflict log that exists in memory.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
The MemoryConflictLog type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MemoryConflictLog(SyncIdFormatGroup) | Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema. |
![]() | MemoryConflictLog(SyncIdFormatGroup, IConflictLogAccess) | Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema and conflict log reader. |
![]() | MemoryConflictLog(SyncIdFormatGroup, IConflictLogWriter) | Initializes a new instance of the MemoryConflictLog class by using the specified ID format schema and conflict log writer. |
![]() | MemoryConflictLog(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. |
| Name | Description | |
|---|---|---|
![]() | InMemoryConflictLogKnowledge | Gets a knowledge object that contains a union of all the conflict knowledge objects that are contained in the conflict log. |
| Name | Description | |
|---|---|---|
![]() | DeleteConflicts | Removes the specified conflicts from the log. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetAllConflicts | Gets a list that contains all of the conflicts in the log. |
![]() | GetConflictsByConflictingItemId | Gets 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. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetItemConflicts | Gets 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. |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Persist | Writes the contents of the conflict log to the conflict log writer specified in the constructor. |
![]() | SaveConflict | Saves information about a change that caused a concurrency conflict. |
![]() | SaveConstraintConflict | Saves information about a change that caused a constraint conflict. |
![]() | ToString | (Inherited from Object.) |
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.
