Compartilhar via


ICorDebugProcess::GetThread Method

Gets this process's thread that has the specified operating system (OS) thread ID.

HRESULT GetThread(
    [in] DWORD dwThreadId,
    [out] ICorDebugThread **ppThread);

Parameters

  • dwThreadId
    [in] The OS thread ID of the thread to be retrieved.

  • ppThread
    [out] A pointer to the address of an ICorDebugThread object that represents the thread.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugProcess Interface

ICorDebugProcess2 Interface