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
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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().
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDomain Returns the current domain in which the current thread is running.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Returns a hash code for the current thread. (Overrides Object.GetHashCode().)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Join() Blocks the calling thread until a thread terminates, while continuing to perform standard COM and SendMessage pumping.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Join(Int32) Blocks the calling thread until a thread terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping.
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sleep(Int32) Suspends the current thread for a specified time.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Sleep(TimeSpan) Blocks the current thread for a specified time.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 SpinWait Causes a thread to wait the number of times defined by the iterations parameter.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Start() Causes the operating system to change the state of the current instance to ThreadState.Running.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)

Top