Udostępnij za pośrednictwem


UnmanagedSyncProviderWrapper.ProcessChangeBatch Method

Passes a batch of changes to the unmanaged provider for processing.

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

Syntax

'Declaration
Public Overrides Sub ProcessChangeBatch ( _
    resolutionPolicy As ConflictResolutionPolicy, _
    sourceChanges As ChangeBatch, _
    changeDataRetriever As Object, _
    syncCallbacks As SyncCallbacks, _
    sessionStatistics As SyncSessionStatistics _
)
'Usage
Dim instance As UnmanagedSyncProviderWrapper
Dim resolutionPolicy As ConflictResolutionPolicy
Dim sourceChanges As ChangeBatch
Dim changeDataRetriever As Object
Dim syncCallbacks As SyncCallbacks
Dim sessionStatistics As SyncSessionStatistics

instance.ProcessChangeBatch(resolutionPolicy, sourceChanges, changeDataRetriever, syncCallbacks, sessionStatistics)
public override void ProcessChangeBatch (
    ConflictResolutionPolicy resolutionPolicy,
    ChangeBatch sourceChanges,
    Object changeDataRetriever,
    SyncCallbacks syncCallbacks,
    SyncSessionStatistics sessionStatistics
)
public:
virtual void ProcessChangeBatch (
    ConflictResolutionPolicy resolutionPolicy, 
    ChangeBatch^ sourceChanges, 
    Object^ changeDataRetriever, 
    SyncCallbacks^ syncCallbacks, 
    SyncSessionStatistics^ sessionStatistics
) override
public void ProcessChangeBatch (
    ConflictResolutionPolicy resolutionPolicy, 
    ChangeBatch sourceChanges, 
    Object changeDataRetriever, 
    SyncCallbacks syncCallbacks, 
    SyncSessionStatistics sessionStatistics
)
public override function ProcessChangeBatch (
    resolutionPolicy : ConflictResolutionPolicy, 
    sourceChanges : ChangeBatch, 
    changeDataRetriever : Object, 
    syncCallbacks : SyncCallbacks, 
    sessionStatistics : SyncSessionStatistics
)

Parameters

  • resolutionPolicy
    The policy to use for resolving conflicts.
  • sourceChanges
    The batch of changes from the source provider.
  • changeDataRetriever
    An object that can be used to retrieve change data.
  • syncCallbacks
    An object that receives event notifications during change application.
  • sessionStatistics
    The statistics for the session.

Remarks

This method wraps the unmanaged IKnowledgeSyncProvider::ProcessChangeBatch method.

If a change data retriever adapter was specified, this method converts the change data retriever to its unmanaged representation before passing it to the IKnowledgeSyncProvider::ProcessChangeBatch method on the unmanaged provider. Otherwise, the change data retriever is just passed with no conversion.

See Also

Reference

UnmanagedSyncProviderWrapper Class
UnmanagedSyncProviderWrapper Members
Microsoft.Synchronization Namespace