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)

Syntax

'Declaration
Public Sub ProcessChangeBatch ( _
    conflictResolutionPolicy As ConflictResolutionPolicy, _
    sourceChanges As ChangeBatch, _
    changeDataRetriever As Object, _
    changeApplierTarget As INotifyingChangeApplierTarget, _
    syncSessionContext As SyncSessionContext, _
    syncCallback As SyncCallbacks _
)
'Usage
Dim instance As FeedSyncServices
Dim conflictResolutionPolicy As ConflictResolutionPolicy
Dim sourceChanges As ChangeBatch
Dim changeDataRetriever As Object
Dim changeApplierTarget As INotifyingChangeApplierTarget
Dim syncSessionContext As SyncSessionContext
Dim syncCallback As SyncCallbacks

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

Parameters

  • conflictResolutionPolicy
    The policy that is used to resolve conflicts.
  • sourceChanges
    The batch of changes from the source provider.
  • changeDataRetriever
    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
    An object that handles calls from the change applier object during change application.
  • syncSessionContext
    Information about the synchronization session.
  • syncCallback
    An object that receives event notifications during change processing.

Remarks

This method helps a synchronization provider implement the ProcessChangeBatch method.

See Also

Reference

FeedSyncServices Class
FeedSyncServices Members
Microsoft.Synchronization.FeedSync Namespace