Udostępnij za pośrednictwem


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.

Return Value

  • S_OK

  • Provider-determined error codes

Remarks

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:

See Also

Reference

IAsynchronousNotifyingChangeApplierTarget Interface
IAsynchronousNotifyingChangeApplierTargetCallback Interface