Mono Class Library: System.Threading.Thread Overview | Members

System.Threading.Thread.ThreadState Property

Gets a value containing the states of the current thread. [Edit]

public ThreadState ThreadState { get; }

Value

A combination of one or more System.Threading.ThreadState values, which indicate the state of the current thread. [Edit]

Remarks

This property is read-only.

A thread is running if the value returned by this property does not include ThreadState.Unstarted and does not include ThreadState.Stopped.

[Edit]

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0