Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an enumerator for the active managed threads in the process.
HRESULT EnumerateThreads (
[out] ICorDebugThreadEnum **ppThreads
);
Parameters
- ppThreads
[out] A pointer to the address of an ICorDebugThreadEnum Interface object that represents an enumerator for all managed threads that are active in the process.
Remarks
A thread is considered active after the ICorDebugManagedCallback::CreateThread Method callback has been dispatched and before the ICorDebugManagedCallback::ExitThread Method callback has been dispatched. A managed thread may not necessarily have any managed frames on its stack. Threads can be enumerated even before the ICorDebugManagedCallback::CreateProcess Method callback. The enumeration will naturally be empty.
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