Specifies the execution state of a thread.
[Visual Basic] Public Enum ThreadState [C#] public enum ThreadState [C++] public enum ThreadState
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Member Name | Description |
---|---|
Initialized | The thread has been initialized, but has not started yet. |
Ready | The thread is in ready state. |
Running | The thread is running. |
Standby | The thread is in standby state. |
Terminated | The thread has exited. |
Transition | The thread is transitioning between states. |
Unknown | The thread state is unknown. |
Wait | The thread is waiting. |
Namespace: System.Diagnostics
Assembly: System.Diagnostics.dll