IAsynchronousNotifyingChangeApplierTarget::SaveConflict
Saves information about a change that caused a conflict.
HRESULT SaveConflict( ISyncChange * pChange, IUnknown * pUnkData, ISyncKnowledge * pConflictKnowledge);
Parameters
- pChange
-
[in] The item metadata for the conflicting change.
- pUnkData
-
[in] The item data for the conflicting change.
- pConflictKnowledge
-
[in] The knowledge to be learned if this change is applied. This must be saved with the change.
If the change that is represented by this conflict is applied to a replica, pConflictKnowledge must be combined with the knowledge of that replica.
When SaveConflict is called, the provider must take one of the following actions:
-
Return a success code from the method and later call IAsynchronousNotifyingChangeApplierTargetCallback::SaveConflictComplete 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.