ISyncCallback::OnConflict

Occurs when a concurrency conflict is detected when the concurrency conflict resolution policy is set to CRP_NONE.

Syntax

HRESULT OnChangeConflict(
  IChangeConflict * pConflict);

Parameters

  • pConflict
    [in] Information about the conflict. This includes metadata and item data for the two changes that are in conflict.

Return Value

  • S_OK

  • Application-determined error codes

Remarks

This notification can be used by an application to perform custom conflict resolution for concurrency conflicts. To accomplish this, the application inspects and processes the contents of pConflict, and then sets the resolution action for the conflict by calling IChangeConflict::SetResolveActionForChange before it returns from this method.

See Also

Reference

ISyncCallback Interface

Concepts

Handling Conflicts