ICorProfilerInfo2::GetAppDomainStaticAddress Method
Gets the address of the specified application domain-static field that is in the scope of the specified application domain.
RESULT GetAppDomainStaticAddress(
[in] ClassID classId,
[in] mdFieldDef fieldToken,
[in] AppDomainID appDomainId,
[out] void **ppAddress);
Parameters
classId
[in] The class ID of the class containing the requested application domain-static field.fieldToken
[in] The metadata token for the requested application domain-static field.appDomainId
[in] The ID of the application domain which is the scope for the requested static field.ppAddress
[out] A pointer to the address of the static field that is within the specified application domain.
Remarks
The GetAppDomainStaticAddress method may return a CORPROF_E_DATAINCOMPLETE HRESULT if the given static field has not been assigned an address in the specified application domain.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorProf.idl
Library: CorGuids.lib
.NET Framework Version: 2.0