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: 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, 1.1, 1.0

See Also

Reference

ICorDebugThread Interface

ICorDebugThread2 Interface