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.
Retrieves the activity identifier associated with the current object context.
Inheritance
The IObjectContextActivity interface inherits from the IUnknown interface. IObjectContextActivity also has these types of members:
Methods
The IObjectContextActivity interface has these methods.
IObjectContextActivity::GetActivityId Retrieves the GUID associated with the current activity. |
Remarks
You obtain a reference to an object's IObjectContextActivity interface by calling QueryInterface on the object's context, as in the following example:
hr = m_pIObjectContext->QueryInterface(
IID_IObjectContextActivity,
(void**)&m_pIObjectContextActivity);
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 |