Thread Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Thread type exposes the following members.
Methods
Name | Description | |
---|---|---|
Abort | Security Critical. 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. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Releases all the resources used by the CriticalFinalizerObject class. (Inherited from CriticalFinalizerObject.) In Silverlight for Windows Phone Windows Phone OS 7.1, this member is inherited from Object.Finalize(). In XNA Framework Xbox 360, this member is inherited from Object.Finalize(). |
|
GetDomain | Returns the current domain in which the current thread is running. | |
GetHashCode | Returns a hash code for the current thread. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Join() | Blocks the calling thread until a thread terminates, while continuing to perform standard COM and SendMessage pumping. | |
Join(Int32) | Blocks the calling thread until a thread terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemoryBarrier | Ensures that memory accesses that appear before the call to MemoryBarrier, in program order, will not execute after the call to MemoryBarrier, and that memory accesses that appear after the call to MemoryBarrier will not execute before that call. | |
SetProcessorAffinity | In the .NET Compact Framework for Xbox 360, sets the processor affinity for a managed thread. Processor affinity determines the processors on which a thread runs. | |
Sleep(Int32) | Suspends the current thread for a specified time. | |
Sleep(TimeSpan) | Blocks the current thread for a specified time. | |
SpinWait | Causes a thread to wait the number of times defined by the iterations parameter. | |
Start() | Causes the operating system to change the state of the current instance to ThreadState.Running. | |
Start(Object) | Causes the operating system to change the state of the current instance to ThreadState.Running, and optionally supplies an object containing data to be used by the method that the thread executes. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top