Sets the debug state of all managed threads in the process.
HRESULT SetAllThreadsDebugState ( [in] CorDebugThreadState state, [in] ICorDebugThread *pExceptThisThread );
[in] A value of the CorDebugThreadState Enumeration enumeration that specifies the state of the thread for debugging.
[in] A pointer to an ICorDebugThread Interface object that represents a thread to be exempted from the debug state setting. If this value is null, no thread is exempted.
The SetAllThreadsDebugState method may affect threads that are not visible via ICorDebugController::EnumerateThreads Method, so threads that were suspended with the SetAllThreadsDebugState method will need to be resumed with the SetAllThreadsDebugState method.
Platforms: See .NET Framework System Requirements.
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0