Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines context-specific initialization and cleanup procedures for your COM+ objects, and specifies whether the objects can be recycled.
Inheritance
The IObjectControl interface inherits from the IUnknown interface. IObjectControl also has these types of members:
Methods
The IObjectControl interface has these methods.
| IObjectControl::Activate Enables a COM+ object to perform context-specific initialization whenever it is activated. (IObjectControl.Activate) |
| IObjectControl::CanBePooled Notifies the COM+ run-time environment whether the object can be pooled for reuse when it is deactivated. |
| IObjectControl::Deactivate Enables a COM+ object to perform required cleanup before it is recycled or destroyed. |
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 |