MemoryConflictLog::GetConflictsByConflictingItemId Method
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.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public: virtual IEnumerable<LoggedConflict^>^ GetConflictsByConflictingItemId( IEnumerable<ItemChange^>^ conflictingItems ) sealed
Parameters
- conflictingItems
- Type: System.Collections.Generic::IEnumerable<ItemChange>
Each conflict in the returned list conflicts with one of the items specified in this list.
Return Value
Type: System.Collections.Generic::IEnumerable<LoggedConflict>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.
Implements
IConflictLogAccess::GetConflictsByConflictingItemId(IEnumerable<ItemChange>)| Exception | Condition |
|---|---|
| ArgumentNullException | conflictingItems is a nullptr. |
This method returns a list that contains conflicts from both the in-memory conflict log and the conflict log of the provider, when an IConflictLogAccess object was specified in the constructor. To do this, the in-memory conflict log calls the GetConflictsByConflictingItemId method of the conflict log of the provider.
Show: