NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Thread.ThreadState

Gets the state of this thread.

[Visual Basic]
Public ReadOnly Property ThreadState As ThreadState
[C#]
public ThreadState ThreadState {get;}
[C++]
public: __property ThreadState get_ThreadState();
[JScript]
public function get ThreadState() : ThreadState;

Property Value

One of the ThreadState values. The initial value is Unstarted.

Remarks

ThreadState is more general than IsAlive or IsBackground.

See Also

Thread Class | Thread Members | System.Threading Namespace