Udostępnij za pośrednictwem


ISyncCallback::OnConflict

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

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 detection. 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