Share via


MemoryConflictLog.DeleteConflicts Method

Removes the specified conflicts from the log.

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

Syntax

'Declaration
Public Sub DeleteConflicts ( _
    loggedConflictsToBeDeleted As IEnumerable(Of LoggedConflict) _
)
'Usage
Dim instance As MemoryConflictLog
Dim loggedConflictsToBeDeleted As IEnumerable(Of LoggedConflict)

instance.DeleteConflicts(loggedConflictsToBeDeleted)
public void DeleteConflicts (
    IEnumerable<LoggedConflict> loggedConflictsToBeDeleted
)
public:
virtual void DeleteConflicts (
    IEnumerable<LoggedConflict^>^ loggedConflictsToBeDeleted
) sealed
public final void DeleteConflicts (
    IEnumerable<LoggedConflict> loggedConflictsToBeDeleted
)
public final function DeleteConflicts (
    loggedConflictsToBeDeleted : IEnumerable<LoggedConflict>
)

Parameters

  • loggedConflictsToBeDeleted
    The list of conflicts to be deleted from the log.

Exceptions

Exception type Condition

ArgumentNullException

loggedConflictsToBeDeleted is a null reference (Nothing in Visual Basic).

Remarks

This method first attempts to delete the specified conflicts from the in-memory conflict log. When a conflict is not found in the in-memory conflict log, the DeleteConflicts method of the conflict log of the provider is called, if it was specified in the constructor.

See Also

Reference

MemoryConflictLog Class
MemoryConflictLog Members
Microsoft.Synchronization Namespace