This documentation is archived and is not being maintained.

Thread Properties

The properties of the Thread class are listed here. For a complete list of Thread class members, see the Thread Members topic.

Public Properties

public propertyApartmentState Gets or sets the apartment state of this thread.
public propertystatic (Shared in Visual Basic)CurrentContext Gets the current context in which the thread is executing.
public propertyCurrentCulture Gets or sets the culture for the current thread.
public propertystatic (Shared in Visual Basic)CurrentPrincipal Gets or sets the thread's current principal (for role-based security).
public propertystatic (Shared in Visual Basic)CurrentThread

Supported by the .NET Compact Framework.

Gets the currently running thread.
public propertyCurrentUICulture Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.
public propertyIsAlive Gets a value indicating the execution status of the current thread.
public propertyIsBackground Gets or sets a value indicating whether or not a thread is a background thread.
public propertyIsThreadPoolThread Gets a value indicating whether or not a thread belongs to the managed thread pool.
public propertyName Gets or sets the name of the thread.
public propertyPriority

Supported by the .NET Compact Framework.

Gets or sets a value indicating the scheduling priority of a thread.
public propertyThreadState Gets a value containing the states of the current thread.

See Also

Thread Class | System.Threading Namespace

Show: