Thread Members
.NET Framework 1.1
Public Constructors
Thread Constructor Supported by the .NET Compact Framework. | Initializes a new instance of the Thread class. |
Public Properties
ApartmentState | 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 Supported by the .NET Compact Framework. | 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. |
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. |
Name | Gets or sets the name of the thread. |
Priority Supported by the .NET Compact Framework. | Gets or sets a value indicating the scheduling priority of a thread. |
ThreadState | Gets a value containing the states of the current thread. |
Public Methods
Abort | Overloaded. Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread. |
![]() AllocateDataSlot Supported by the .NET Compact Framework. | Allocates an unnamed data slot on all the threads. |
![]() AllocateNamedDataSlot Supported by the .NET Compact Framework. | Allocates a named data slot on all threads. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
![]() FreeNamedDataSlot Supported by the .NET Compact Framework. | Eliminates the association between a name and a slot, for all threads in the process. |
![]() GetData Supported by the .NET Compact Framework. | Retrieves the value from the specified slot on the current thread, within the current thread's current domain. |
![]() GetDomain | Returns the current domain in which the current thread is running. |
![]() GetDomainID | Returns a unique application domain identifier. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() GetNamedDataSlot Supported by the .NET Compact Framework. | Looks up a named data slot. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
Interrupt | Interrupts a thread that is in the WaitSleepJoin thread state. |
Join | Overloaded. Blocks the calling thread until a thread terminates. |
![]() MemoryBarrier | Synchronizes memory. In effect, flushes the contents of cache memory to main memory, for the processor executing the current thread. |
![]() ResetAbort | Cancels an Abort requested for the current thread. |
Resume | Resumes a thread that has been suspended. |
![]() SetData Supported by the .NET Compact Framework. | Sets the data in the specified slot on the currently running thread, for that thread's current domain. |
![]() Sleep Supported by the .NET Compact Framework. | Overloaded. Blocks the current thread for the specified number of milliseconds. |
![]() SpinWait | Causes a thread to wait the number of times defined by the iterations parameter. |
Start Supported by the .NET Compact Framework. | Causes the operating system to change the state of the current instance to ThreadState.Running. |
Suspend | Either suspends the thread, or if the thread is already suspended, has no effect. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
![]() VolatileRead | Overloaded. Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. |
![]() VolatileWrite | Overloaded. Writes a value to a field immediately, so that the value is visible to all processors in the computer. |
Protected Methods
Finalize Supported by the .NET Compact Framework. | Overridden. Releases the resources held by this instance.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
