IComActivityEvents interface (comsvcs.h)

Notifies the subscriber if an activity is created, destroyed, or timed out. The activity event is 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 IComActivityEvents interface inherits from the IUnknown interface. IComActivityEvents also has these types of members:

Methods

The IComActivityEvents interface has these methods.

 
IComActivityEvents::OnActivityCreate

Generated when an activity starts.
IComActivityEvents::OnActivityDestroy

Generated when an activity is finished.
IComActivityEvents::OnActivityEnter

Generated when an activity thread is entered.
IComActivityEvents::OnActivityLeave

Generated when an activity thread is left.
IComActivityEvents::OnActivityLeaveSame

Generated when an activity thread is left after being entered recursively.
IComActivityEvents::OnActivityReenter

Generated when an activity thread is reentered recursively.
IComActivityEvents::OnActivityTimeout

Generated when a call into an activity times out.

Requirements

   
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