System.Threading.Thread: Property Members

The properties of System.Threading.Thread are listed below. For a list of all members, see the Thread Members list.

See Also: Inherited members from System.Runtime.ConstrainedExecution.CriticalFinalizerObject

Public Properties

ApartmentStateSystem.Threading.ApartmentState.

Gets or sets the apartment state of this thread.

[read-only]
static
CurrentContextSystem.Runtime.Remoting.Contexts.Context.

Gets the current context in which the thread is executing.

CurrentCultureSystem.Globalization.CultureInfo.

Gets or sets the culture for the current thread.

static
CurrentPrincipalSystem.Security.Principal.IPrincipal.

Gets or sets the thread's current principal (for role-based security).

[read-only]
static
CurrentThreadSystem.Threading.Thread.

Gets the currently running thread.

CurrentUICultureSystem.Globalization.CultureInfo.

Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.

[read-only]
ExecutionContextSystem.Threading.ExecutionContext.

Gets an System.Threading.ExecutionContext object that contains information about the various contexts of the current thread.

[read-only]
IsAlivebool.

Gets a value indicating the execution status of the current thread.

IsBackgroundbool.

Gets or sets a value indicating whether or not a thread is a background thread.

[read-only]
IsThreadPoolThreadbool.

Gets a value indicating whether or not a thread belongs to the managed thread pool.

[read-only]
ManagedThreadIdint.

Gets a unique identifier for the current managed thread.

Namestring.

Gets or sets the name of the thread.

PrioritySystem.Threading.ThreadPriority.

Gets or sets a value indicating the scheduling priority of a thread.

[read-only]
ThreadStateSystem.Threading.ThreadState.

Gets a value containing the states of the current thread.