ICorDebugDataTarget2::EnumerateThreadIDs Method

Returns a list of active thread IDs.

Syntax

HRESULT EnumerateThreadIDs(
    [in] ULONG32 cThreadIds,
    [out] ULONG32 *pcThreadIds,
    [out, size_is(cThreadIds), length_is(*pcThreadIds)] ULONG32 pThreadIds[]
);

Parameters

cThreadIDs [in] The maximum number of threads whose IDs can be returned.

pcThreadIds [out] A pointer to a ULONG32 that indicates the actual number of thread IDs written to the pThreadIds array.

pThreadIDs An array of thread identifiers.

Remarks

Note

This method is available with .NET Native only.

Requirements

Platforms: See System Requirements.Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6, .NET Native only

See also