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
public final IEnumerable<LoggedConflict> GetItemConflicts (
IEnumerable<ItemChange> requestedItems
)
public final function GetItemConflicts (
requestedItems : IEnumerable<ItemChange>
) : IEnumerable<LoggedConflict>
Parameters
- requestedItems
Each conflict in the returned list of conflicts is identified by 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 are identified by the specified list of requested items.
Exceptions
Exception type | Condition |
---|---|
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
MemoryConflictLog Members
Microsoft.Synchronization Namespace