Share via


ICorDebugThread::GetID Method

Gets the current operating system identifier of the active part of this ICorDebugThread.

HRESULT GetID (
    [out] DWORD *pdwThreadId
);

Parameters

  • pdwThreadId
    [out] The identifier of the thread.

Remarks

The operating system identifier can potentially change during execution of a process, and can be a different value for different parts of 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

ICorDebugThread Interface

ICorDebugThread2 Interface