IObjectContextInfo2 interface
Provides additional information about an object's context. This interface extends the IObjectContextInfo interface.
When to implement
This interface is implemented by COM+.
When to use
Obtain a reference to the IObjectContextInfo2 interface by calling the CoGetObjectContext function and specifying IID_IObjectContextInfo2 as the riid parameter. You use this interface to get information about the COM+ partition, application, or application instance used by the current object context.
Members
The IObjectContextInfo2 interface inherits from IObjectContextInfo. IObjectContextInfo2 also has these types of members:
Methods
The IObjectContextInfo2 interface has these methods.
| Method | Description |
|---|---|
| GetApplicationId |
Retrieves the identifier of the application of the current object context. |
| GetApplicationInstanceId |
Retrieves the identifier of the application instance of the current object context. |
| GetPartitionId |
Retrieves the identifier of the partition of the current object context. |
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
See also