ICorDebugProcess2::GetThreadForTaskID Method
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 System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.