Share via


IConflictLogWriter::SaveConflict

Saves information about a change that caused a concurrency 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.

See Also

Reference

IConflictLogWriter Interface