ResolveUpdateUpdateConflict-Methode

Löst, wenn in einer abgeleiteten Klasse überschrieben, Konflikte auf, bei denen ein Element auf beiden Replikaten aktualisiert wurde.

Namespace:  Microsoft.Synchronization.SimpleProviders
Assembly:  Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)

Syntax

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

instance.ResolveUpdateUpdateConflict(itemData, _
    changeUnitsToMerge, changeUnitsToUpdate, _
    keyAndExpectedVersion, recoverableErrorReportingContext, _
    updatedVersion)
void ResolveUpdateUpdateConflict(
    Object itemData,
    IEnumerable<SyncId> changeUnitsToMerge,
    IEnumerable<SyncId> changeUnitsToUpdate,
    ItemFieldDictionary keyAndExpectedVersion,
    RecoverableErrorReportingContext recoverableErrorReportingContext,
    out ItemFieldDictionary updatedVersion
)
void ResolveUpdateUpdateConflict(
    Object^ itemData, 
    IEnumerable<SyncId^>^ changeUnitsToMerge, 
    IEnumerable<SyncId^>^ changeUnitsToUpdate, 
    ItemFieldDictionary^ keyAndExpectedVersion, 
    RecoverableErrorReportingContext^ recoverableErrorReportingContext, 
    [OutAttribute] ItemFieldDictionary^% updatedVersion
)
abstract ResolveUpdateUpdateConflict : 
        itemData:Object * 
        changeUnitsToMerge:IEnumerable<SyncId> * 
        changeUnitsToUpdate:IEnumerable<SyncId> * 
        keyAndExpectedVersion:ItemFieldDictionary * 
        recoverableErrorReportingContext:RecoverableErrorReportingContext * 
        updatedVersion:ItemFieldDictionary byref -> unit 
function ResolveUpdateUpdateConflict(
    itemData : Object, 
    changeUnitsToMerge : IEnumerable<SyncId>, 
    changeUnitsToUpdate : IEnumerable<SyncId>, 
    keyAndExpectedVersion : ItemFieldDictionary, 
    recoverableErrorReportingContext : RecoverableErrorReportingContext, 
    updatedVersion : ItemFieldDictionary
)

Parameter

Ausnahmen

Ausnahme Bedingung
SyncRuntimeInternalErrorException

changeUnitsToMerge oder changeUnitsToUpdate hat eine Änderungseinheit unerwarteter Größe enthalten.

Siehe auch

Verweis

ISimpleSyncProviderConcurrencyConflictResolver Schnittstelle

ISimpleSyncProviderConcurrencyConflictResolver-Member

Microsoft.Synchronization.SimpleProviders-Namespace