Dela via


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
)
member ProcessChangeBatch : 
        conflictResolutionPolicy:ConflictResolutionPolicy * 
        sourceChanges:ChangeBatch * 
        changeDataRetriever:Object * 
        changeApplierTarget:INotifyingChangeApplierTarget * 
        syncSessionContext:SyncSessionContext * 
        syncCallback:SyncCallbacks -> unit 
public function ProcessChangeBatch(
    conflictResolutionPolicy : ConflictResolutionPolicy, 
    sourceChanges : ChangeBatch, 
    changeDataRetriever : Object, 
    changeApplierTarget : INotifyingChangeApplierTarget, 
    syncSessionContext : SyncSessionContext, 
    syncCallback : SyncCallbacks
)

Parameters

  • 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.

Exceptions

Exception Condition
ArgumentNullException

sourceChanges, changeDataRetriever, changeApplierTarget, or syncSessionContext is a null reference (Nothing in Visual Basic).

Remarks

This method helps a synchronization provider implement the ProcessChangeBatch method.

See Also

Reference

FeedSyncServices Class

Microsoft.Synchronization.FeedSync Namespace