ICorProfilerInfo3::GetAppDomainsContainingModule 方法

取得已載入指定模組之應用程式定義域的識別項。

語法

HRESULT GetAppDomainsContainingModule(  
            [in] ModuleID moduleId,  
            [in] ULONG32 cAppDomainIds,  
            [out] ULONG32 *pcAppDomainIds,  
            [out, size_is(cAppDomainIds), length_is(*pcAppDomainIds)]  
                    AppDomainID appDomainIds[]);  

參數

moduleId
[in] 載入模組的 ID。

cAppDomainIds
[in] appDomainIds 陣列的大小。

pcAppDomainIds
[out] 傳回項目之總數的指標。

appDomainIds
[out] 應用程式定義域 ID 值的陣列。

備註

這個方法會使用呼叫端配置的緩衝區。

規格需求

平台:請參閱系統需求

標頭: CorProf.idl、CorProf.h

程式庫:CorGuids.lib

.NET Framework版本:自 4 起可用

另請參閱