检索位于指定地址的托管线程的数据。
Note
此 API 最初旨在供运行时内部使用。 尽管现在支持第三方使用,但我们建议尽量使用 ICorDebug 和 ICorProfiler API。
Syntax
HRESULT GetThreadData(CLRDATA_ADDRESS thread, struct DacpThreadData *data);
Parameters
thread
[in]要检索其信息的线程的地址。
data
[out]指向接收线程数据的 DacpThreadData 结构的 指针。
Remarks
提供的方法是接口的 ISOSDacInterface 一部分,对应于虚拟方法表的第 18 个槽。
要求
平台:请参阅系统要求。
页眉: 没有
图书馆: 没有
.NET Framework 版本:自 4.7 起可用