CorDebugThreadState Enumeration
Specifies the state of a thread for debugging.
Syntax
typedef enum CorDebugThreadState {
THREAD_RUN,
THREAD_SUSPEND
} CorDebugThreadState;
Members
Member | Description |
---|---|
THREAD_RUN |
The thread runs freely, unless a debug event occurs. |
THREAD_SUSPEND |
The thread cannot run. |
Remarks
The debugger uses the CorDebugThreadState
enumeration to control a thread's execution. The state of a thread can be set by using the ICorDebugThread::SetDebugState or ICorDebugController::SetAllThreadsDebugState method.
A callback provided to the hosting API enables message pumping, so an interrupted state is not needed.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ