Thread::ThreadState Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that contains the states of the current thread.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Threading::ThreadStateOne of the enumeration values that indicates the state of the current thread. The initial value is Unstarted.
The ThreadState property provides more specific information than the IsAlive property.
Important Note: |
|---|
Thread state is of interest only in debugging scenarios. Your code should never use thread state to synchronize the activities of threads. |
Show:
Important Note: