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.
Sets the debug state of all managed threads in the process.
Syntax
HRESULT SetAllThreadsDebugState (
[in] CorDebugThreadState state,
[in] ICorDebugThread *pExceptThisThread
);
Parameters
state
[in] A value of the "CorDebugThreadState" enumeration that specifies the state of the thread for debugging.
pExceptThisThread
[in] A pointer to an "ICorDebugThread" object that represents a thread to be exempted from the debug state setting. If this value is null, no thread is exempted.
Remarks
The SetAllThreadsDebugState method may affect threads that are not visible via EnumerateThreads Method, so threads that were suspended with the SetAllThreadsDebugState method will need to be resumed with the SetAllThreadsDebugState method.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0