DacpDomainLocalModuleData Structure

定義領域-本地模組資訊的傳輸緩衝區。

Note

此 API 原本是針對運行時間內部使用所設計。 雖然現在支援第三方使用,但建議您盡可能使用 ICorDebugICorProfiler API。

Syntax

struct DacpDomainLocalModuleData : ZeroInit<DacpDomainLocalModuleData>
{
    // These two parameters are used as input parameters when calling Request below.
    CLRDATA_ADDRESS appDomainAddr;
    ULONG64  ModuleID;
    
    CLRDATA_ADDRESS pClassData;   
    CLRDATA_ADDRESS pDynamicClassTable;   
    CLRDATA_ADDRESS pGCStaticDataStart;
    CLRDATA_ADDRESS pNonGCStaticDataStart; 

    // Called when you have a pointer to the DomainLocalModule
    HRESULT Request(ISOSDacInterface *sos, CLRDATA_ADDRESS addr)
    {
        return sos->GetDomainLocalModuleData(addr, this);
    }
};

Members

會員 說明
appDomainAddr 作為請求輸入參數的應用域位址。
ModuleID 模組識別碼作為請求的輸入參數。
pClassData 類別資料的位址。
pDynamicClassTable 動態類別表的位址。
pGCStaticDataStart 垃圾回收靜態資料的起始位址。
pNonGCStaticDataStart 非垃圾回收靜態資料的起始位址。
Request 透過呼叫 ISOSDacInterface::GetDomainLocalModuleData來填充結構。

Remarks

此結構位於運行時間內,不會透過任何標頭或庫檔案公開。 使用時,請依上述定義結構。

要求

平台:請參閱系統需求
標題:
圖書館:
.NET Framework 版本:自 4.7 版本起可用

也請參閱