Operator = Used with CAdviseConnection

CAdviseConnection& operator=(
const CAdviseConnection& other)

Parameters

other

Reference to the right-side CAdviseConnection object.

Comments

Unadvise is called implicitly on the left object before the assignment is done. The assignment will duplicate the active connection of the right object, which results in two active connections. If the right object is not connected, then only the m_guid data member is copied to the left object.