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.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public Function GetConflictsByConflictingItemId ( _
conflictingItems As IEnumerable(Of ItemChange) _
) As IEnumerable(Of LoggedConflict)
'Usage
Dim instance As MemoryConflictLog
Dim conflictingItems As IEnumerable(Of ItemChange)
Dim returnValue As IEnumerable(Of LoggedConflict)
returnValue = instance.GetConflictsByConflictingItemId(conflictingItems)
public IEnumerable<LoggedConflict> GetConflictsByConflictingItemId (
IEnumerable<ItemChange> conflictingItems
)
public:
virtual IEnumerable<LoggedConflict^>^ GetConflictsByConflictingItemId (
IEnumerable<ItemChange^>^ conflictingItems
) sealed
public final IEnumerable<LoggedConflict> GetConflictsByConflictingItemId (
IEnumerable<ItemChange> conflictingItems
)
public final function GetConflictsByConflictingItemId (
conflictingItems : IEnumerable<ItemChange>
) : IEnumerable<LoggedConflict>
Parameters
- conflictingItems
Each conflict in the returned list conflicts with one of the items specified in this list.
Return Value
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.
Exceptions
Exception type | Condition |
---|---|
conflictingItems is a null reference (Nothing in Visual Basic). |
Remarks
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.
See Also
Reference
MemoryConflictLog Class
MemoryConflictLog Members
Microsoft.Synchronization Namespace