Share 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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugProcess Interface

ICorDebugProcess2 Interface