IComObjectEvents interface (comsvcs.h)
Notifies the subscriber if an instance of a just-in-time (JIT) activated object has been created or freed. The subscriber is notified if IObjectContext::DisableCommit, IObjectContext::EnableCommit, IObjectContext::SetComplete or IObjectContext::SetAbort is called. 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 IComObjectEvents interface inherits from the IUnknown interface. IComObjectEvents also has these types of members:
Methods
The IComObjectEvents interface has these methods.
IComObjectEvents::OnDisableCommit Generated when the client calls DisableCommit on a context. |
IComObjectEvents::OnEnableCommit Generated when the client calls EnableCommit on a context. |
IComObjectEvents::OnObjectActivate Generated when an object gets an instance of a new JIT-activated object. |
IComObjectEvents::OnObjectDeactivate Generated when the JIT-activated object is freed by SetComplete or SetAbort. |
IComObjectEvents::OnSetComplete Generated when the client calls SetComplete on a context. |
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 |