Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Gets an enumerator for the active managed threads in the process.
Syntax
HRESULT EnumerateThreads (
[out] ICorDebugThreadEnum **ppThreads
);
Parameters
ppThreads
[out] A pointer to the address of an "ICorDebugThreadEnum" 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 callback has been dispatched and before the ICorDebugManagedCallback::ExitThread 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 callback. The enumeration will naturally be empty.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0