Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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
- 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.
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.