Thread Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The Thread type exposes the following members.
| 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 | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
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. |
|
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.) |
Show: