ISimpleSyncProviderConstraintConflictResolver.MergeConstraintConflict Method

SQL Server 2008 R2

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,
	out ItemFieldDictionary updatedKeyAndVersion
)
void MergeConstraintConflict (
	Object itemData, 
	ConflictVersionInformation conflictVersionInformation, 
	IEnumerable<SyncId> changeUnitsToMerge, 
	ItemFieldDictionary localConflictingItem, 
	ItemFieldDictionary keyAndExpectedVersion, 
	RecoverableErrorReportingContext recoverableErrorReportingContext, 
	/** @attribute OutAttribute() */ /** @ref */ ItemFieldDictionary updatedKeyAndVersion
)
JScript does not support passing value-type arguments by reference.

Parameters

itemData

Data for the item in a provider-specific format.

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

A collection of SyncId objects that represent the set of change units to merge during conflict resolution.

localConflictingItem

The fields that are associated with the local item that is in conflict.

keyAndExpectedVersion

The key and version properties of the item that is in conflict.

recoverableErrorReportingContext

A RecoverableErrorReportingContext object that is used to report recoverable errors that occur during attempts to resolve a conflict.

updatedKeyAndVersion

Returns the key and version properties that were modified as a result of conflict resolution.

Exception typeCondition

SyncRuntimeInternalErrorException

changeUnitsToMerge contained a change unit of unexpected size.

Show: