Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMbnServiceActivationEvents interface

This notification interface signals an application about the completion of a service activation request.

Members

The IMbnServiceActivationEvents interface inherits from the IUnknown interface. IMbnServiceActivationEvents also has these types of members:

Methods

The IMbnServiceActivationEvents interface has these methods.

MethodDescription
OnActivationComplete

A service activation operation has completed.

 

Remarks

The following procedure describes how to register for notifications.

  1. Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnInterfaceManager object.
  2. Call FindConnectionPoint on the returned interface and pass IID_IMbnServiceActivationEvents to riid.
  3. Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnServiceActivationEvents to pUnk.

Notifications can be terminated by calling Unadvise on the connection point returned in step 2.

To view some code that registers for COM notifications, see the Client section of the COM Connection Points article.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

IDL

Mbnapi.idl

 

 

Show:
© 2017 Microsoft