ISimpleSyncProviderConstraintConflictResolver::ModifyAndUpdateRemoteItem Method
When overridden in a derived class, renames the remote item so that it no longer conflicts with the local item name and updates the remote item in the local replica.
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
void ModifyAndUpdateRemoteItem(
Object^ itemData,
IEnumerable<SyncId^>^ changeUnitsToUpdate,
ItemFieldDictionary^ keyAndExpectedVersion,
RecoverableErrorReportingContext^ recoverableErrorReportingContext,
[OutAttribute] ItemFieldDictionary^% updatedKeyAndVersion
)
Parameters
- itemData
- Type: System::Object
Data for the item in a provider-specific format.
- changeUnitsToUpdate
- Type: System.Collections.Generic::IEnumerable<SyncId>
A collection of SyncId objects that represent the set of change units to update 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.
- updatedKeyAndVersion
- Type: Microsoft.Synchronization.SimpleProviders::ItemFieldDictionary%
Returns the key and version properties that were modified as a result of conflict resolution.
| Exception | Condition |
|---|---|
| SyncRuntimeInternalErrorException | changeUnitsToUpdate contained a change unit of unexpected size. |
Show: