3.16.4.5 IConnectionPoint Interface

The IConnectionPoint interface provides methods for interacting with connection points. The version for this interface is 1.0.

To receive incoming remote calls for this interface, the server MUST implement a DCOM interface by using the UUID {B196B286-BAB4-101A-B69C-00AA00341D07}.

The following opnum table begins at opnum 3. Opnums 0 through 2 are inherited from the IUnknown interface, as specified in [MS-DCOM] section 3.1.1.5.8.

Methods in RPC Opnum Order

Method

Description

GetConnectionInterface

Returns the interface identifier (IID) of the interface that client applications MUST implement for the MSMQEvent object to be able to notify them when an event is raised.

Opnum: 3

GetConnectionPointContainer

Returns the pointer to an IConnectionPointContainer interface for the MSMQEvent object.

Opnum: 4

Advise

Registers a client's callback object to receive event notifications.

Opnum: 5

Unadvise

Deregisters a client's callback object to cease receiving event notifications.

Opnum: 6

EnumConnections

Returns a standard OLE enumerator as defined by [MS-OAUT] section 2.2 that can be used to enumerate the currently registered callback objects.

Opnum: 7