Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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