IAsynchronousNotifyingChangeApplierTarget Interface
Represents an object that can asynchronously save item changes and conflicts to a replica.
Note
This interface is now obsolete.
interface IAsynchronousNotifyingChangeApplierTarget : IUnknown
Members
IAsynchronousNotifyingChangeApplierTarget methods | Description |
---|---|
Gets the ID format schema for the provider. |
|
Gets an object that can be used to retrieve item data from a replica. |
|
Registers a callback interface that the provider must use to send notification that a method has finished. |
|
Indicates that the specified callback interface should no longer be used and that all references to it must be released. |
|
IAsynchronousNotifyingChangeApplierTarget::GetCurrentTickCount |
Increments the tick count and returns the new tick count. |
IASynchronousNotifyingChangeApplierTarget::GetDestinationVersion |
Gets the version of an item that is stored in the destination replica. |
Saves an item change to the item store. |
|
IAsynchronousNotifyingChangeApplierTarget::SaveChangeWithChangeUnits |
Saves an item change that contains unit change changes to the item store. |
Saves information about a change that caused a concurrency conflict. |
|
Saves the knowledge for the current scope. |
|
IAsynchronousNotifyingChangeApplierTarget::ApplyChangesComplete |
Called by Sync Framework when IAsynchronousNotifyingChangeApplier::ApplyChanges finishes successfully. |
IAsynchronousNotifyingChangeApplierTarget::OnChangeApplierError |
Called by Sync Framework when any IAsynchronousNotifyingChangeApplier method fails. |
Remarks
IAsynchronousNotifyingChangeApplierTarget is typically implemented by the destination provider.
For the SaveChange, SaveChangeWithChangeUnits, SaveConflict, and SaveKnowledge methods, the provider must take one of the following actions:
Return a success code from the method and later call the corresponding IAsynchronousNotifyingChangeApplierTargetCallback method to report that asynchronous processing finished successfully.
Return a success code from the method and later call IAsynchronousNotifyingChangeApplierTargetCallback::OnError to report that an error occurred during asynchronous processing.
Return an error code from the method. In this case, IAsynchronousNotifyingChangeApplierTargetCallback methods should not be called.
Requirements
Header: Synchronization.h