Partager via


ICorDebugThread::GetID Method

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

HRESULT GetID (
    [out] DWORD *pdwThreadId
);

Parameters

Parameter Description

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

Reference

ICorDebugThread Interface
ICorDebugThread2 Interface