Export (0) Print
Expand All

Thread Methods

The Thread type exposes the following members.

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

Community Additions

ADD
Show:
© 2014 Microsoft