Thread Properties
.NET Framework 4.5
The Thread type exposes the following members.
| Name | Description | |
|---|---|---|
|
ApartmentState | Obsolete. Gets or sets the apartment state of this thread. |
|
CurrentContext | Gets the current context in which the thread is executing. |
|
CurrentCulture | Gets or sets the culture for the current thread. |
|
CurrentPrincipal | Gets or sets the thread's current principal (for role-based security). |
|
CurrentThread | Gets the currently running thread. |
|
CurrentUICulture | Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time. |
|
ExecutionContext | Gets an ExecutionContext object that contains information about the various contexts of the current thread. |
|
IsAlive | Gets a value indicating the execution status of the current thread. |
|
IsBackground | Gets or sets a value indicating whether or not a thread is a background thread. |
|
IsThreadPoolThread | Gets a value indicating whether or not a thread belongs to the managed thread pool. |
|
ManagedThreadId | Gets a unique identifier for the current managed thread. |
|
Name | Gets or sets the name of the thread. |
|
Priority | Gets or sets a value indicating the scheduling priority of a thread. |
|
ThreadState | Gets a value containing the states of the current thread. |