Share via


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
abstract GetConflictsByConflictingItemId : 
        conflictingItems:IEnumerable<ItemChange> -> IEnumerable<LoggedConflict> 
override GetConflictsByConflictingItemId : 
        conflictingItems:IEnumerable<ItemChange> -> IEnumerable<LoggedConflict> 
public final function GetConflictsByConflictingItemId(
    conflictingItems : IEnumerable<ItemChange>
) : IEnumerable<LoggedConflict>

Parameters

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>)

Exceptions

Exception Condition
ArgumentNullException

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

Microsoft.Synchronization Namespace