Partager via


ICorDebugThread::GetHandle Method

Gets the current handle for the active part of this ICorDebugThread.

HRESULT GetHandle (
    [out] HTHREAD *phThreadHandle
);

Parameters

  • phThreadHandle
    [out] A pointer to an HTHREAD that is the handle of the active part of this thread.

Remarks

The handle may change as the process executes, and may be different for different parts of the thread.

This handle is owned by the debugging API. The debugger should duplicate it before using it.

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

ICorDebugThread Interface

ICorDebugThread2 Interface