หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Gets the thread on which the task with the specified identifier is executing.
Syntax
HRESULT GetThreadForTaskID (
[in] TASKID taskid,
[out] ICorDebugThread2 **ppThread
);
Parameters
taskid
[in] The identifier of the task.
ppThread
[out] A pointer to the address of an ICorDebugThread2 object that represents the thread to be retrieved.
Remarks
The host can set the task identifier by using the ICLRTask::SetTaskIdentifier method.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 2.0