ISimpleSyncProviderConstraintConflictResolver::MergeConstraintConflict Method

When overridden in a derived class, merges local and remote data into one item that is applied at the destination.

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

void MergeConstraintConflict(
	Object^ itemData, 
	ConflictVersionInformation^ conflictVersionInformation, 
	IEnumerable<SyncId^>^ changeUnitsToMerge, 
	ItemFieldDictionary^ localConflictingItem, 
	ItemFieldDictionary^ keyAndExpectedVersion, 
	RecoverableErrorReportingContext^ recoverableErrorReportingContext, 
	[OutAttribute] ItemFieldDictionary^% updatedKeyAndVersion
)

Parameters

itemData
Type: System::Object
Data for the item in a provider-specific format.
conflictVersionInformation
Type: Microsoft.Synchronization.SimpleProviders::ConflictVersionInformation
A ConflictVersionInformation object that contains information about what item versions, if any, are known to the remote provider for the item that is in conflict.
changeUnitsToMerge
Type: System.Collections.Generic::IEnumerable<SyncId>
A collection of SyncId objects that represent the set of change units to merge during conflict resolution.
localConflictingItem
Type: Microsoft.Synchronization.SimpleProviders::ItemFieldDictionary
The fields that are associated with the local item that is in conflict.
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.

ExceptionCondition
SyncRuntimeInternalErrorException

changeUnitsToMerge contained a change unit of unexpected size.

Show: