Export (0) Print
Expand All

ISimpleSyncProviderConstraintConflictResolver.ModifyAndInsertRemoteItem Method

Sync Framework 2.0

When overridden in a derived class, renames the remote item so that it no longer conflicts with the local item name and inserts the remote item into the local replica.

Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)

void ModifyAndInsertRemoteItem (
	Object itemData,
	IEnumerable<SyncId> changeUnitsToCreate,
	RecoverableErrorReportingContext recoverableErrorReportingContext,
	out ItemFieldDictionary updatedKeyAndVersion
)
void ModifyAndInsertRemoteItem (
	Object itemData, 
	IEnumerable<SyncId> changeUnitsToCreate, 
	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.

changeUnitsToCreate

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

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 created as a result of conflict resolution.

Exception typeCondition

SyncRuntimeInternalErrorException

changeUnitsToCreate contained a change unit of unexpected size.

Show:
© 2014 Microsoft