IComAppEvents interface (comsvcs.h)

Notifies the subscriber if a COM+ server application is started, shut down, or forced to shut down. The latter is initiated by the user calling a catalog method, such as ICOMAdminCatalog::ShutdownApplication, to shut down the server. The events are published to the subscriber using the COM+ Events service, a loosely coupled events (LCE) system that stores event information from different publishers in an event store in the COM+ catalog.

Inheritance

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

Methods

The IComAppEvents interface has these methods.

 
IComAppEvents::OnAppActivation

Generated when an application server starts.
IComAppEvents::OnAppForceShutdown

Generated when an application server is forced to shut down.
IComAppEvents::OnAppShutdown

Generated when an application server shuts down.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

COM+ Events

COM+ Instrumentation