Gets this process's thread that has the specified operating system (OS) thread ID.
HRESULT GetThread( [in] DWORD dwThreadId, [out] ICorDebugThread **ppThread);
[in] The OS thread ID of the thread to be retrieved.
[out] A pointer to the address of an ICorDebugThread object that represents the thread.
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: Available since 2.0