Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a value containing the states of the current thread.
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public ReadOnly Property ThreadState As ThreadState
public ThreadState ThreadState { get; }
public:
property ThreadState ThreadState {
ThreadState get ();
}
member ThreadState : ThreadState with get
function get ThreadState () : ThreadState
Property Value
Type: System.Threading. . :: . .ThreadState
One of the ThreadState values indicating the state of the current thread. The initial value is Unstarted.
Remarks
The ThreadState property provides more specific information than the IsAlive property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.