FeedSyncServices::ProcessChangeBatch Method

Processes a batch of changes that are specified by the source provider by handling conflicts and applying changes to the loaded FeedSync feed.

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

public:
void ProcessChangeBatch(
	ConflictResolutionPolicy conflictResolutionPolicy, 
	ChangeBatch^ sourceChanges, 
	Object^ changeDataRetriever, 
	INotifyingChangeApplierTarget^ changeApplierTarget, 
	SyncSessionContext^ syncSessionContext, 
	SyncCallbacks^ syncCallback
)

Parameters

conflictResolutionPolicy
Type: Microsoft.Synchronization::ConflictResolutionPolicy
The policy that is used to resolve conflicts.
sourceChanges
Type: Microsoft.Synchronization::ChangeBatch
The batch of changes from the source provider.
changeDataRetriever
Type: System::Object
An object that can be used by the destination provider to retrieve item data from the source provider. The object can be an IChangeDataRetriever object or a provider-specific object.
changeApplierTarget
Type: Microsoft.Synchronization::INotifyingChangeApplierTarget
An object that handles calls from the change applier object during change application.
syncSessionContext
Type: Microsoft.Synchronization::SyncSessionContext
Information about the synchronization session.
syncCallback
Type: Microsoft.Synchronization::SyncCallbacks
An object that receives event notifications during change processing.

ExceptionCondition
ArgumentNullException

sourceChanges, changeDataRetriever, changeApplierTarget, or syncSessionContext is a nullptr.

This method helps a synchronization provider implement the ProcessChangeBatch method.

Show: