This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Thread Members
Public:
Constructor
Properties
ApartmentState |
Gets or sets the apartment state of this thread. |
CurrentContext |
Gets the current context the thread is executing in. |
CurrentCulture |
[To be supplied.] |
CurrentPrincipal |
Gets and sets the thread's current principal (for role based security). |
CurrentThread |
Gets a reference to the currently running thread. |
CurrentUICulture |
[To be supplied.] |
IsAlive |
Gets a value indicate whether the thread has been started and is not dead. |
IsBackground |
Gets or sets a value indicating whether or not this thread is a background thread. |
Name |
Gets or Sets the name of the thread. |
Priority |
Gets or Sets the priority of a thread. |
ThreadState |
Gets the state of this thread. |
Methods
Abort |
Overloaded. Raises a ThreadAbortException in the thread, which usually results in the thread's death. |
AllocateDataSlot |
Allocates an unnamed data slot on all the threads. |
AllocateNamedDataSlot |
Allocates a named data slot on all of the threads. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FreeNamedDataSlot |
Frees a previously allocated named data slot. |
GetData |
Retrieves the value from the specified slot on the current thread. |
GetDomain |
Returns the current domain in which the current thread is running. Get and set work on the hard thread not the logical thread. For that reason they are package protected and should not be available for general consumption. |
GetDomainID |
[To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetNamedDataSlot |
Looks up a named data slot. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Interrupt |
Interrupts a thread that is in the WaitSleepJoin thread state. |
Join |
Overloaded. Waits for a thread. |
ResetAbort |
Resets a Abort. |
Resume |
Resumes a thread that has been suspended. |
SetData |
Sets the data in the specified slot on the currently running thread. |
Sleep |
Overloaded. Suspends the current thread for a specified time. |
Start |
Begins execution at the ThreadStart that was supplied at construction. |
Stop |
Raises a ThreadStopException in the thread, which results in the thread's death unless the thread catches and ignores the exception. |
Suspend |
Either suspends the thread, or if the thread is already suspended, has no effect. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Methods
Finalize |
Invoked when the garbage collector (GC) determines that the current object is not being referenced by any other object. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
Thread Class | System.Threading Namespace