ISimpleSyncProviderConcurrencyConflictResolver::ResolveUpdateUpdateConflict Method
When overridden in a derived class, resolves conflicts in which an item was updated at both replicas.
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
void ResolveUpdateUpdateConflict(
Object^ itemData,
IEnumerable<SyncId^>^ changeUnitsToMerge,
IEnumerable<SyncId^>^ changeUnitsToUpdate,
ItemFieldDictionary^ keyAndExpectedVersion,
RecoverableErrorReportingContext^ recoverableErrorReportingContext,
[OutAttribute] ItemFieldDictionary^% updatedVersion
)
Parameters
- itemData
- Type: System::Object
Data for the item in a provider-specific format.
- changeUnitsToMerge
- Type: System.Collections.Generic::IEnumerable<SyncId>
A collection of SyncId objects that represent a set of change units that should be merged during conflict resolution.
- changeUnitsToUpdate
- Type: System.Collections.Generic::IEnumerable<SyncId>
A collection of SyncId objects that represent a set of change units that should be updated during conflict resolution.
- keyAndExpectedVersion
- Type: Microsoft.Synchronization.SimpleProviders::ItemFieldDictionary
The key and version properties of the item that is in conflict.
- recoverableErrorReportingContext
- Type: Microsoft.Synchronization.SimpleProviders::RecoverableErrorReportingContext
A RecoverableErrorReportingContext object that is used to report recoverable errors that occur during attempts to resolve a conflict.
- updatedVersion
- Type: Microsoft.Synchronization.SimpleProviders::ItemFieldDictionary%
Returns the updated version properties of the updated items. If the return value is invalid, the Sync Framework runtime throws ArgumentOutOfRangeException, which ends the session.
| Exception | Condition |
|---|---|
| SyncRuntimeInternalErrorException | changeUnitsToMerge or changeUnitsToUpdate contained a change unit of unexpected size. |
Show: