MemoryConflictLog::GetItemConflicts Method

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.

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

public:
virtual IEnumerable<LoggedConflict^>^ GetItemConflicts(
	IEnumerable<ItemChange^>^ requestedItems
) sealed

Parameters

requestedItems
Type: System.Collections.Generic::IEnumerable<ItemChange>
Each conflict in the returned list of conflicts is identified by 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 are identified by the specified list of requested items.

Implements

IConflictLogAccess::GetItemConflicts(IEnumerable<ItemChange>)

ExceptionCondition
ArgumentNullException

requestedItems 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 accomplish this, the in-memory conflict log calls the GetItemConflicts method of the conflict log of the provider.

Show: