Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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 |