Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |