Share via


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)

Syntax

'Declaration
Public Function GetItemConflicts ( _
    requestedItems As IEnumerable(Of ItemChange) _
) As IEnumerable(Of LoggedConflict)
'Usage
Dim instance As MemoryConflictLog
Dim requestedItems As IEnumerable(Of ItemChange)
Dim returnValue As IEnumerable(Of LoggedConflict)

returnValue = instance.GetItemConflicts(requestedItems)
public IEnumerable<LoggedConflict> GetItemConflicts(
    IEnumerable<ItemChange> requestedItems
)
public:
virtual IEnumerable<LoggedConflict^>^ GetItemConflicts(
    IEnumerable<ItemChange^>^ requestedItems
) sealed
abstract GetItemConflicts : 
        requestedItems:IEnumerable<ItemChange> -> IEnumerable<LoggedConflict> 
override GetItemConflicts : 
        requestedItems:IEnumerable<ItemChange> -> IEnumerable<LoggedConflict> 
public final function GetItemConflicts(
    requestedItems : 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 are identified by the specified list of requested items.

Implements

IConflictLogAccess.GetItemConflicts(IEnumerable<ItemChange>)

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

MemoryConflictLog Class

Microsoft.Synchronization Namespace