Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets the managed task running on the given OS thread by its thread ID.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.
Syntax
HRESULT GetTaskByOSThreadID(
[in] ULONG32 osThreadID,
[out] IXCLRDataTask **task
);
Parameters
osThreadID
[in] The operating system thread ID for which to find the associated managed task
task
[out] The managed task
Remarks
The provided method is part of the IXCLRDataProcess interface and corresponds to the 8th slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7