Thread Properties

The Thread type exposes the following members.

  NameDescription
Public property ApartmentState Obsolete. Gets or sets the apartment state of this thread.
Public property Static member CurrentContext Gets the current context in which the thread is executing.
Public property CurrentCulture Gets or sets the culture for the current thread.
Public property Static member CurrentPrincipal Gets or sets the thread's current principal (for role-based security).
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework CurrentThread Gets the currently running thread.
Public property CurrentUICulture Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.
Public property ExecutionContext Gets an ExecutionContext object that contains information about the various contexts of the current thread.
Public property IsAlive Gets a value indicating the execution status of the current thread.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsBackground Gets or sets a value indicating whether or not a thread is a background thread.
Public property IsThreadPoolThread Gets a value indicating whether or not a thread belongs to the managed thread pool.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ManagedThreadId Gets a unique identifier for the current managed thread.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name Gets or sets the name of the thread.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Priority Gets or sets a value indicating the scheduling priority of a thread.
Public property ThreadState Gets a value containing the states of the current thread.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft