ISyncConstraintCallback Interface

Represents application callbacks that are used to notify the application of constraint conflict events.

interface ISyncConstraintCallback : IUnknown

Members

ISyncConstraintCallback method Description

ISyncConstraintCallback::OnConstraintConflict

Occurs when a constraint conflict is reported, for collision conflicts when the collision conflict resolution policy is set to CCRP_NONE, and for all non-collision constraint conflicts.

Remarks

The object that implements ISyncConstraintCallback is passed to Sync Framework in the ISyncSession::RegisterCallback method as an ISyncCallback interface. Because of this, the object that implements ISyncCallback must return an ISyncConstraintCallback object when its QueryInterface method receives IID_ISyncConstraintCallback; otherwise, the ISyncConstraintCallback methods will not be called.

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components