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
abstract DeleteConflicts : 
        loggedConflictsToBeDeleted:IEnumerable<LoggedConflict> -> unit 
override DeleteConflicts : 
        loggedConflictsToBeDeleted:IEnumerable<LoggedConflict> -> unit 
public final function DeleteConflicts(
    loggedConflictsToBeDeleted : IEnumerable<LoggedConflict>
)

Parameters

Implements

IConflictLogAccess.DeleteConflicts(IEnumerable<LoggedConflict>)

Exceptions

Exception 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

Microsoft.Synchronization Namespace