Share via


KnowledgeSyncProvider.ProcessFullEnumerationChangeBatch Method

When overridden in a derived class, processes a set of changes for a full enumeration by applying changes to the item store.

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

Syntax

'Declaration
Public MustOverride Sub ProcessFullEnumerationChangeBatch ( _
    resolutionPolicy As ConflictResolutionPolicy, _
    sourceChanges As FullEnumerationChangeBatch, _
    changeDataRetriever As Object, _
    syncCallbacks As SyncCallbacks, _
    sessionStatistics As SyncSessionStatistics _
)
'Usage
Dim instance As KnowledgeSyncProvider
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 abstract 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
) abstract
public abstract void ProcessFullEnumerationChangeBatch (
    ConflictResolutionPolicy resolutionPolicy, 
    FullEnumerationChangeBatch sourceChanges, 
    Object changeDataRetriever, 
    SyncCallbacks syncCallbacks, 
    SyncSessionStatistics sessionStatistics
)
public abstract function ProcessFullEnumerationChangeBatch (
    resolutionPolicy : ConflictResolutionPolicy, 
    sourceChanges : FullEnumerationChangeBatch, 
    changeDataRetriever : Object, 
    syncCallbacks : SyncCallbacks, 
    sessionStatistics : SyncSessionStatistics
)

Parameters

  • resolutionPolicy
    The conflict resolution policy to use when this method applies changes.
  • sourceChanges
    A batch of changes from the source provider to be applied locally.
  • changeDataRetriever
    An object that can be used to retrieve change data. It can be an IChangeDataRetriever object or a provider-specific object.
  • syncCallbacks
    An object that receives event notifications during change application.
  • sessionStatistics
    Tracks change statistics. For a provider that uses custom change application, this object must be updated with the results of the change application.

Remarks

This method is called during forgotten knowledge recovery.

Notes to Implementers: A provider that uses NotifyingChangeApplier to apply changes must enumerate, in sorted order by item ID, all the changes in the replica that have item IDs between the DestinationVersionEnumerationRangeLowerBound and DestinationVersionEnumerationRangeUpperBound properties of sourceChanges. This list of destination changes must then be provided to ApplyFullEnumerationChanges.

See Also

Reference

KnowledgeSyncProvider Class
KnowledgeSyncProvider Members
Microsoft.Synchronization Namespace

Other Resources

Recovering an Out-of-Date Replica