IComApp2Events interface (comsvcs.h)
Notifies the subscriber if a COM+ server application is loaded, shut down, or paused. The subscriber is also notified if the application is marked for recycling. The events are published to the subscriber using the COM+ Events service, a loosely coupled events system that stores event information from different publishers in an event store in the COM+ catalog.
Inheritance
The IComApp2Events interface inherits from the IUnknown interface. IComApp2Events also has these types of members:
Methods
The IComApp2Events interface has these methods.
IComApp2Events::OnAppActivation2 Generated when the server application process is loaded. |
IComApp2Events::OnAppForceShutdown2 Generated when the server application is forced to shut down. |
IComApp2Events::OnAppPaused2 Generated when the server application is paused or resumed to its initial state. |
IComApp2Events::OnAppRecycle2 Generated when the server application process is marked for recycling termination. |
IComApp2Events::OnAppShutdown2 Generated when the server application shuts down. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |