RelationalSyncProvider::ProcessChangeBatch Method
Processes a batch of changes when given resolution policy, source changes, change data retriever, callback, and statistics parameters.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public: virtual void ProcessChangeBatch( ConflictResolutionPolicy resolutionPolicy, ChangeBatch^ sourceChanges, Object^ changeDataRetriever, SyncCallbacks^ syncCallbacks, SyncSessionStatistics^ sessionStatistics ) override
Parameters
- resolutionPolicy
- Type: Microsoft.Synchronization::ConflictResolutionPolicy
A ConflictResolutionPolicy enumeration value that defines how conflicts are resolved.
- sourceChanges
- Type: Microsoft.Synchronization::ChangeBatch
A ChangeBatch object that contains the changes to process.
- changeDataRetriever
- Type: System::Object
The object that will be used to retrieve the modified data.
- syncCallbacks
- Type: Microsoft.Synchronization::SyncCallbacks
A SyncCallbacks object that represents application callbacks used to dispatch synchronization events.
- sessionStatistics
- Type: Microsoft.Synchronization::SyncSessionStatistics
A SyncSessionStatistics object that contains information about changes that were applied or could not be applied.
| Exception | Condition |
|---|---|
| ArgumentNullException | sourceChanges, changeDataRetriever, syncCallbacks, or sessionStatistics is nullptr. |
| ObjectDisposedException | This RelationalSyncProvider is disposed. |
| DbSyncException | changeDataRetriever is not valid. |
Show: