Share via


ISimpleSyncProviderConcurrencyConflictResolver.ResolveLocalDeleteRemoteUpdateConflict Method

When overridden in a derived class, resolves conflicts in which an item was deleted from the local replica and updated at the remote replica.

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

Syntax

'Declaration
Sub ResolveLocalDeleteRemoteUpdateConflict ( _
    itemData As Object, _
    changeUnitsToUpdate As IEnumerable(Of SyncId), _
    recoverableErrorReportingContext As RecoverableErrorReportingContext, _
    <OutAttribute> ByRef itemWasDeletedAsResultOfResolution As Boolean, _
    <OutAttribute> ByRef updatedVersion As ItemFieldDictionary _
)
'Usage
Dim instance As ISimpleSyncProviderConcurrencyConflictResolver
Dim itemData As Object
Dim changeUnitsToUpdate As IEnumerable(Of SyncId)
Dim recoverableErrorReportingContext As RecoverableErrorReportingContext
Dim itemWasDeletedAsResultOfResolution As Boolean
Dim updatedVersion As ItemFieldDictionary

instance.ResolveLocalDeleteRemoteUpdateConflict(itemData, changeUnitsToUpdate, recoverableErrorReportingContext, itemWasDeletedAsResultOfResolution, updatedVersion)
void ResolveLocalDeleteRemoteUpdateConflict (
    Object itemData,
    IEnumerable<SyncId> changeUnitsToUpdate,
    RecoverableErrorReportingContext recoverableErrorReportingContext,
    out bool itemWasDeletedAsResultOfResolution,
    out ItemFieldDictionary updatedVersion
)
void ResolveLocalDeleteRemoteUpdateConflict (
    Object^ itemData, 
    IEnumerable<SyncId^>^ changeUnitsToUpdate, 
    RecoverableErrorReportingContext^ recoverableErrorReportingContext, 
    [OutAttribute] bool% itemWasDeletedAsResultOfResolution, 
    [OutAttribute] ItemFieldDictionary^% updatedVersion
)
void ResolveLocalDeleteRemoteUpdateConflict (
    Object itemData, 
    IEnumerable<SyncId> changeUnitsToUpdate, 
    RecoverableErrorReportingContext recoverableErrorReportingContext, 
    /** @attribute OutAttribute() */ /** @ref */ boolean itemWasDeletedAsResultOfResolution, 
    /** @attribute OutAttribute() */ /** @ref */ ItemFieldDictionary updatedVersion
)
JScript does not support passing value-type arguments by reference.

Parameters

  • itemData
    Data for the item in a provider-specific format.
  • changeUnitsToUpdate
    A collection of SyncId objects that represent a set of change units that should be updated during conflict resolution.
  • recoverableErrorReportingContext
    A RecoverableErrorReportingContext object that is used to report recoverable errors that occur during attempts to resolve a conflict.
  • itemWasDeletedAsResultOfResolution
    Returns whether the item was deleted as a result of the custom resolution process.
  • updatedVersion
    Returns the updated version properties of the updated items. If the return value is not valid, the Sync Framework runtime throws ArgumentOutOfRangeException, which ends the session.

Exceptions

Exception type Condition

SyncRuntimeInternalErrorException

changeUnitsToUpdate contained a change unit of unexpected size.

See Also

Reference

ISimpleSyncProviderConcurrencyConflictResolver Interface
ISimpleSyncProviderConcurrencyConflictResolver Members
Microsoft.Synchronization.SimpleProviders Namespace