ProcessThread.ThreadState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current state of this thread.
public:
property System::Diagnostics::ThreadState ThreadState { System::Diagnostics::ThreadState get(); };
public System.Diagnostics.ThreadState ThreadState { get; }
member this.ThreadState : System.Diagnostics.ThreadState
Public ReadOnly Property ThreadState As ThreadState
Property Value
A ThreadState that indicates the thread's execution, for example, running, waiting, or terminated.
Exceptions
The process is on a remote computer.
Remarks
The WaitReason property value is valid only when the ThreadState value is Wait. Therefore, check the ThreadState value before you get the WaitReason property.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.