UnmanagedSyncProviderWrapper.ProcessFullEnumerationChangeBatch Method
Passes a batch of changes to the unmanaged provider for processing during a full enumeration.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Overrides Sub ProcessFullEnumerationChangeBatch ( _
resolutionPolicy As ConflictResolutionPolicy, _
sourceChanges As FullEnumerationChangeBatch, _
changeDataRetriever As Object, _
syncCallbacks As SyncCallbacks, _
sessionStatistics As SyncSessionStatistics _
)
'Usage
Dim instance As UnmanagedSyncProviderWrapper
Dim resolutionPolicy As ConflictResolutionPolicy
Dim sourceChanges As FullEnumerationChangeBatch
Dim changeDataRetriever As Object
Dim syncCallbacks As SyncCallbacks
Dim sessionStatistics As SyncSessionStatistics
instance.ProcessFullEnumerationChangeBatch(resolutionPolicy, _
sourceChanges, changeDataRetriever, _
syncCallbacks, sessionStatistics)
public override void ProcessFullEnumerationChangeBatch(
ConflictResolutionPolicy resolutionPolicy,
FullEnumerationChangeBatch sourceChanges,
Object changeDataRetriever,
SyncCallbacks syncCallbacks,
SyncSessionStatistics sessionStatistics
)
public:
virtual void ProcessFullEnumerationChangeBatch(
ConflictResolutionPolicy resolutionPolicy,
FullEnumerationChangeBatch^ sourceChanges,
Object^ changeDataRetriever,
SyncCallbacks^ syncCallbacks,
SyncSessionStatistics^ sessionStatistics
) override
abstract ProcessFullEnumerationChangeBatch :
resolutionPolicy:ConflictResolutionPolicy *
sourceChanges:FullEnumerationChangeBatch *
changeDataRetriever:Object *
syncCallbacks:SyncCallbacks *
sessionStatistics:SyncSessionStatistics -> unit
override ProcessFullEnumerationChangeBatch :
resolutionPolicy:ConflictResolutionPolicy *
sourceChanges:FullEnumerationChangeBatch *
changeDataRetriever:Object *
syncCallbacks:SyncCallbacks *
sessionStatistics:SyncSessionStatistics -> unit
public override function ProcessFullEnumerationChangeBatch(
resolutionPolicy : ConflictResolutionPolicy,
sourceChanges : FullEnumerationChangeBatch,
changeDataRetriever : Object,
syncCallbacks : SyncCallbacks,
sessionStatistics : SyncSessionStatistics
)
Parameters
- resolutionPolicy
Type: Microsoft.Synchronization.ConflictResolutionPolicy
The policy to use for resolving conflicts.
- sourceChanges
Type: Microsoft.Synchronization.FullEnumerationChangeBatch
The batch of changes from the source provider.
- changeDataRetriever
Type: System.Object
An object that can be used to retrieve change data.
- syncCallbacks
Type: Microsoft.Synchronization.SyncCallbacks
An object that receives event notifications during change application.
- sessionStatistics
Type: Microsoft.Synchronization.SyncSessionStatistics
The statistics for the session.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | sourceChanges, changeDataRetriever, syncCallbacks, or sessionStatistics is a null reference (Nothing in Visual Basic). |
InvalidOperationException | This UnmanagedSyncProviderWrapper object is already initialized. |
Remarks
This method wraps the unmanaged IKnowledgeSyncProvider::ProcessFullEnumerationChangeBatch 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::ProcessFullEnumerationChangeBatch method on the unmanaged provider. Otherwise, the change data retriever is just passed with no conversion.