ISOSDacInterface::GetThreadLocalModuleData 方法

取得指定執行緒與模組索引的執行緒本地模組資料。

Note

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

Syntax

HRESULT GetThreadLocalModuleData(CLRDATA_ADDRESS thread, unsigned int index, struct DacpThreadLocalModuleData *data);

Parameters

thread
[在]討論串的地址。

index
[在]模組索引。

data
[出]一個指向 DacpThreadLocalModuleData 結構 的指標,該結構接收 thread-local 模組資料。

Remarks

所提供的方法是介面的一部分 ISOSDacInterface ,對應虛擬方法表的第 59 個插槽。

要求

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

也請參閱