IComObjectPool2Events interface (comsvcs.h)

Notifies the subscriber if a transactional or non-transactional object is added to or obtained from the object pool. 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 IComObjectPool2Events interface inherits from the IUnknown interface. IComObjectPool2Events also has these types of members:

Methods

The IComObjectPool2Events interface has these methods.

 
IComObjectPool2Events::OnObjPoolGetFromTx2

Generated when a transactional object is obtained from the pool. (IComObjectPool2Events.OnObjPoolGetFromTx2)
IComObjectPool2Events::OnObjPoolGetObject2

Generated when a non-transactional object is obtained from the pool. (IComObjectPool2Events.OnObjPoolGetObject2)
IComObjectPool2Events::OnObjPoolPutObject2

Generated when an object is added to the pool.
IComObjectPool2Events::OnObjPoolRecycleToTx2

Generated when a transactional object is returned to the pool. (IComObjectPool2Events.OnObjPoolRecycleToTx2)

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