ICorDebugThread::GetID Method

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

Syntax

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

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0