mscorlib(4.0.0.0) API with additions
|
Creates and controls a thread, sets its priority, and gets its status. More...
Public Member Functions | |
Thread (ThreadStart start) | |
Initializes a new instance of the T:System.Threading.Thread class. More... | |
Thread (ThreadStart start, int maxStackSize) | |
Initializes a new instance of the T:System.Threading.Thread class, specifying the maximum stack size for the thread. More... | |
Thread (ParameterizedThreadStart start) | |
Initializes a new instance of the T:System.Threading.Thread class, specifying a delegate that allows an object to be passed to the thread when the thread is started. More... | |
Thread (ParameterizedThreadStart start, int maxStackSize) | |
Initializes a new instance of the T:System.Threading.Thread class, specifying a delegate that allows an object to be passed to the thread when the thread is started and specifying the maximum stack size for the thread. More... | |
override int | GetHashCode () |
Returns a hash code for the current thread. More... | |
void | Start () |
Causes the operating system to change the state of the current instance to F:System.Threading.ThreadState.Running. More... | |
void | Start (object parameter) |
Causes the operating system to change the state of the current instance to F:System.Threading.ThreadState.Running, and optionally supplies an object containing data to be used by the method the thread executes. More... | |
void | SetCompressedStack (CompressedStack stack) |
Applies a captured T:System.Threading.CompressedStack to the current thread. More... | |
CompressedStack | GetCompressedStack () |
Returns a T:System.Threading.CompressedStack object that can be used to capture the stack for the current thread. More... | |
void | Abort (object stateInfo) |
Raises a T:System.Threading.ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread while also providing exception information about the thread termination. Calling this method usually terminates the thread. More... | |
void | Abort () |
Raises a T:System.Threading.ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread. More... | |
void | Suspend () |
Either suspends the thread, or if the thread is already suspended, has no effect. More... | |
void | Resume () |
Resumes a thread that has been suspended. More... | |
void | Interrupt () |
Interrupts a thread that is in the WaitSleepJoin thread state. More... | |
void | Join () |
Blocks the calling thread until the thread represented by this instance terminates, while continuing to perform standard COM and SendMessage pumping. More... | |
bool | Join (int millisecondsTimeout) |
Blocks the calling thread until the thread represented by this instance terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping. More... | |
bool | Join (TimeSpan timeout) |
Blocks the calling thread until the thread represented by this instance terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping. More... | |
void | DisableComObjectEagerCleanup () |
Turns off automatic cleanup of runtime callable wrappers (RCW) for the current thread. More... | |
ApartmentState | GetApartmentState () |
Returns an T:System.Threading.ApartmentState value indicating the apartment state. More... | |
bool | TrySetApartmentState (ApartmentState state) |
Sets the apartment state of a thread before it is started. More... | |
void | SetApartmentState (ApartmentState state) |
Sets the apartment state of a thread before it is started. More... | |
static void | BeginCriticalRegion () |
Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception might jeopardize other tasks in the application domain. More... | |
static void | EndCriticalRegion () |
Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception are limited to the current task. More... | |
static void | BeginThreadAffinity () |
Notifies a host that managed code is about to execute instructions that depend on the identity of the current physical operating system thread. More... | |
static void | EndThreadAffinity () |
Notifies a host that managed code has finished executing instructions that depend on the identity of the current physical operating system thread. More... | |
static void | MemoryBarrier () |
Synchronizes memory access as follows: The processor executing the current thread cannot reorder instructions in such a way that memory accesses prior to the call to M:System.Threading.Thread.MemoryBarrier execute after memory accesses that follow the call to M:System.Threading.Thread.MemoryBarrier. More... | |
Static Public Member Functions | |
static void | ResetAbort () |
Cancels an M:System.Threading.Thread.Abort(System.Object) requested for the current thread. More... | |
static void | Sleep (int millisecondsTimeout) |
Suspends the current thread for the specified number of milliseconds. More... | |
static void | Sleep (TimeSpan timeout) |
Suspends the current thread for the specified amount of time. More... | |
static void | SpinWait (int iterations) |
Causes a thread to wait the number of times defined by the iterations parameter. More... | |
static bool | Yield () |
Causes the calling thread to yield execution to another thread that is ready to run on the current processor. The operating system selects the thread to yield to. More... | |
static LocalDataStoreSlot | AllocateDataSlot () |
Allocates an unnamed data slot on all the threads. For better performance, use fields that are marked with the T:System.ThreadStaticAttribute attribute instead. More... | |
static LocalDataStoreSlot | AllocateNamedDataSlot (string name) |
Allocates a named data slot on all threads. For better performance, use fields that are marked with the T:System.ThreadStaticAttribute attribute instead. More... | |
static LocalDataStoreSlot | GetNamedDataSlot (string name) |
Looks up a named data slot. For better performance, use fields that are marked with the T:System.ThreadStaticAttribute attribute instead. More... | |
static void | FreeNamedDataSlot (string name) |
Eliminates the association between a name and a slot, for all threads in the process. For better performance, use fields that are marked with the T:System.ThreadStaticAttribute attribute instead. More... | |
static object | GetData (LocalDataStoreSlot slot) |
Retrieves the value from the specified slot on the current thread, within the current thread's current domain. For better performance, use fields that are marked with the T:System.ThreadStaticAttribute attribute instead. More... | |
static void | SetData (LocalDataStoreSlot slot, object data) |
Sets the data in the specified slot on the currently running thread, for that thread's current domain. For better performance, use fields marked with the T:System.ThreadStaticAttribute attribute instead. More... | |
static AppDomain | GetDomain () |
Returns the current domain in which the current thread is running. More... | |
static int | GetDomainID () |
Returns a unique application domain identifier. More... | |
static byte | VolatileRead (ref byte address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static short | VolatileRead (ref short address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static int | VolatileRead (ref int address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static long | VolatileRead (ref long address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static sbyte | VolatileRead (ref sbyte address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static ushort | VolatileRead (ref ushort address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static uint | VolatileRead (ref uint address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static IntPtr | VolatileRead (ref IntPtr address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static UIntPtr | VolatileRead (ref UIntPtr address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static ulong | VolatileRead (ref ulong address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static float | VolatileRead (ref float address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static double | VolatileRead (ref double address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static object | VolatileRead (ref object address) |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. More... | |
static void | VolatileWrite (ref byte address, byte value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref short address, short value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref int address, int value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref long address, long value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref sbyte address, sbyte value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref ushort address, ushort value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref uint address, uint value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref IntPtr address, IntPtr value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref UIntPtr address, UIntPtr value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref ulong address, ulong value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref float address, float value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref double address, double value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
static void | VolatileWrite (ref object address, object value) |
Writes a value to a field immediately, so that the value is visible to all processors in the computer. More... | |
Properties | |
int | ManagedThreadId [get] |
Gets a unique identifier for the current managed thread. More... | |
ExecutionContext | ExecutionContext [get] |
Gets an T:System.Threading.ExecutionContext object that contains information about the various contexts of the current thread. More... | |
ThreadPriority | Priority [get, set] |
Gets or sets a value indicating the scheduling priority of a thread. More... | |
bool | IsAlive [get] |
Gets a value indicating the execution status of the current thread. More... | |
bool | IsThreadPoolThread [get] |
Gets a value indicating whether or not a thread belongs to the managed thread pool. More... | |
static Thread | CurrentThread [get] |
Gets the currently running thread. More... | |
bool | IsBackground [get, set] |
Gets or sets a value indicating whether or not a thread is a background thread. More... | |
ThreadState | ThreadState [get] |
Gets a value containing the states of the current thread. More... | |
ApartmentState | ApartmentState [get, set] |
Gets or sets the apartment state of this thread. More... | |
CultureInfo?? | CurrentUICulture [get, set] |
Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time. More... | |
CultureInfo?? | CurrentCulture [get, set] |
Gets or sets the culture for the current thread. More... | |
static Context | CurrentContext [get] |
Gets the current context in which the thread is executing. More... | |
static IPrincipal | CurrentPrincipal [get, set] |
Gets or sets the thread's current principal (for role-based security). More... | |
string??? | Name [get, set] |
Gets or sets the name of the thread. More... | |
Additional Inherited Members | |
![]() | |
CriticalFinalizerObject () | |
Initializes a new instance of the T:System.Runtime.ConstrainedExecution.CriticalFinalizerObject class. More... | |
Creates and controls a thread, sets its priority, and gets its status.
System.Threading.Thread.Thread | ( | ThreadStart | start | ) |
Initializes a new instance of the T:System.Threading.Thread class.
start | A T:System.Threading.ThreadStart delegate that represents the methods to be invoked when this thread begins executing. |
T:System.ArgumentNullException | The start parameter is null . |
System.Threading.Thread.Thread | ( | ThreadStart | start, |
int | maxStackSize | ||
) |
Initializes a new instance of the T:System.Threading.Thread class, specifying the maximum stack size for the thread.
start | A T:System.Threading.ThreadStart delegate that represents the methods to be invoked when this thread begins executing. |
maxStackSize | The maximum stack size, in bytes, to be used by the thread, or 0 to use the default maximum stack size specified in the header for the executable.Important   For partially trusted code, maxStackSize is ignored if it is greater than the default stack size. No exception is thrown. |
T:System.ArgumentNullException | start is null . |
T:System.ArgumentOutOfRangeException | maxStackSize is less than zero. |
System.Threading.Thread.Thread | ( | ParameterizedThreadStart | start | ) |
Initializes a new instance of the T:System.Threading.Thread class, specifying a delegate that allows an object to be passed to the thread when the thread is started.
start | A delegate that represents the methods to be invoked when this thread begins executing. |
T:System.ArgumentNullException | start is null . |
System.Threading.Thread.Thread | ( | ParameterizedThreadStart | start, |
int | maxStackSize | ||
) |
Initializes a new instance of the T:System.Threading.Thread class, specifying a delegate that allows an object to be passed to the thread when the thread is started and specifying the maximum stack size for the thread.
start | A T:System.Threading.ParameterizedThreadStart delegate that represents the methods to be invoked when this thread begins executing. |
maxStackSize | The maximum stack size, in bytes, to be used by the thread, or 0 to use the default maximum stack size specified in the header for the executable.Important   For partially trusted code, maxStackSize is ignored if it is greater than the default stack size. No exception is thrown. |
T:System.ArgumentNullException | start is null . |
T:System.ArgumentOutOfRangeException | maxStackSize is less than zero. |
void System.Threading.Thread.Abort | ( | object | stateInfo | ) |
Raises a T:System.Threading.ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread while also providing exception information about the thread termination. Calling this method usually terminates the thread.
stateInfo | An object that contains application-specific information, such as state, which can be used by the thread being aborted. |
T:System.Security.SecurityException | The caller does not have the required permission. |
T:System.Threading.ThreadStateException | The thread that is being aborted is currently suspended. |
void System.Threading.Thread.Abort | ( | ) |
Raises a T:System.Threading.ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread.
T:System.Security.SecurityException | The caller does not have the required permission. |
T:System.Threading.ThreadStateException | The thread that is being aborted is currently suspended. |
|
static |
|
static |
Allocates a named data slot on all threads. For better performance, use fields that are marked with the T:System.ThreadStaticAttribute attribute instead.
name | The name of the data slot to be allocated. |
T:System.ArgumentException | A named data slot with the specified name already exists. |
static void System.Threading.Thread.BeginCriticalRegion | ( | ) |
Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception might jeopardize other tasks in the application domain.
static void System.Threading.Thread.BeginThreadAffinity | ( | ) |
Notifies a host that managed code is about to execute instructions that depend on the identity of the current physical operating system thread.
T:System.Security.SecurityException | The caller does not have the required permission. |
void System.Threading.Thread.DisableComObjectEagerCleanup | ( | ) |
Turns off automatic cleanup of runtime callable wrappers (RCW) for the current thread.
static void System.Threading.Thread.EndCriticalRegion | ( | ) |
Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception are limited to the current task.
static void System.Threading.Thread.EndThreadAffinity | ( | ) |
Notifies a host that managed code has finished executing instructions that depend on the identity of the current physical operating system thread.
T:System.Security.SecurityException | The caller does not have the required permission. |
|
static |
ApartmentState System.Threading.Thread.GetApartmentState | ( | ) |
CompressedStack System.Threading.Thread.GetCompressedStack | ( | ) |
|
static |
Retrieves the value from the specified slot on the current thread, within the current thread's current domain. For better performance, use fields that are marked with the T:System.ThreadStaticAttribute attribute instead.
slot | The T:System.LocalDataStoreSlot from which to get the value. |
|
static |
|
static |
override int System.Threading.Thread.GetHashCode | ( | ) |
|
static |
void System.Threading.Thread.Interrupt | ( | ) |
Interrupts a thread that is in the WaitSleepJoin
thread state.
T:System.Security.SecurityException | The caller does not have the appropriate T:System.Security.Permissions.SecurityPermission. |
void System.Threading.Thread.Join | ( | ) |
Blocks the calling thread until the thread represented by this instance terminates, while continuing to perform standard COM and SendMessage
pumping.
T:System.Threading.ThreadStateException | The caller attempted to join a thread that is in the F:System.Threading.ThreadState.Unstarted state. |
T:System.Threading.ThreadInterruptedException | The thread is interrupted while waiting. |
bool System.Threading.Thread.Join | ( | int | millisecondsTimeout | ) |
Blocks the calling thread until the thread represented by this instance terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping.
millisecondsTimeout | The number of milliseconds to wait for the thread to terminate. |
true
if the thread has terminated; false
if the thread has not terminated after the amount of time specified by the millisecondsTimeout parameter has elapsed.T:System.ArgumentOutOfRangeException | The value of millisecondsTimeout is negative and is not equal to F:System.Threading.Timeout.Infinite in milliseconds. |
T:System.Threading.ThreadStateException | The thread has not been started. |
bool System.Threading.Thread.Join | ( | TimeSpan | timeout | ) |
Blocks the calling thread until the thread represented by this instance terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping.
timeout | A T:System.TimeSpan set to the amount of time to wait for the thread to terminate. |
true
if the thread terminated; false
if the thread has not terminated after the amount of time specified by the timeout parameter has elapsed.T:System.ArgumentOutOfRangeException | The value of timeout is negative and is not equal to F:System.Threading.Timeout.Infinite in milliseconds, or is greater than F:System.Int32.MaxValue milliseconds. |
T:System.Threading.ThreadStateException | The caller attempted to join a thread that is in the F:System.Threading.ThreadState.Unstarted state. |
static void System.Threading.Thread.MemoryBarrier | ( | ) |
Synchronizes memory access as follows: The processor executing the current thread cannot reorder instructions in such a way that memory accesses prior to the call to M:System.Threading.Thread.MemoryBarrier execute after memory accesses that follow the call to M:System.Threading.Thread.MemoryBarrier.
|
static |
Cancels an M:System.Threading.Thread.Abort(System.Object) requested for the current thread.
T:System.Threading.ThreadStateException | Abort was not invoked on the current thread. |
T:System.Security.SecurityException | The caller does not have the required security permission for the current thread. |
void System.Threading.Thread.Resume | ( | ) |
Resumes a thread that has been suspended.
T:System.Threading.ThreadStateException | The thread has not been started, is dead, or is not in the suspended state. |
T:System.Security.SecurityException | The caller does not have the appropriate T:System.Security.Permissions.SecurityPermission. |
void System.Threading.Thread.SetApartmentState | ( | ApartmentState | state | ) |
Sets the apartment state of a thread before it is started.
state | The new apartment state. |
T:System.ArgumentException | state is not a valid apartment state. |
T:System.Threading.ThreadStateException | The thread has already been started. |
T:System.InvalidOperationException | The apartment state has already been initialized. |
void System.Threading.Thread.SetCompressedStack | ( | CompressedStack | stack | ) |
|
static |
Sets the data in the specified slot on the currently running thread, for that thread's current domain. For better performance, use fields marked with the T:System.ThreadStaticAttribute attribute instead.
slot | The T:System.LocalDataStoreSlot in which to set the value. |
data | The value to be set. |
|
static |
Suspends the current thread for the specified number of milliseconds.
millisecondsTimeout | The number of milliseconds for which the thread is suspended. If the value of the millisecondsTimeout argument is zero, the thread relinquishes the remainder of its time slice to any thread of equal priority that is ready to run. If there are no other threads of equal priority that are ready to run, execution of the current thread is not suspended. |
T:System.ArgumentOutOfRangeException | The time-out value is negative and is not equal to F:System.Threading.Timeout.Infinite. |
|
static |
Suspends the current thread for the specified amount of time.
timeout | The amount of time for which the thread is suspended. If the value of the millisecondsTimeout argument is F:System.TimeSpan.Zero, the thread relinquishes the remainder of its time slice to any thread of equal priority that is ready to run. If there are no other threads of equal priority that are ready to run, execution of the current thread is not suspended. |
T:System.ArgumentOutOfRangeException | The value of timeout is negative and is not equal to F:System.Threading.Timeout.Infinite in milliseconds, or is greater than F:System.Int32.MaxValue milliseconds. |
|
static |
void System.Threading.Thread.Start | ( | ) |
Causes the operating system to change the state of the current instance to F:System.Threading.ThreadState.Running.
T:System.Threading.ThreadStateException | The thread has already been started. |
T:System.OutOfMemoryException | There is not enough memory available to start this thread. |
void System.Threading.Thread.Start | ( | object | parameter | ) |
Causes the operating system to change the state of the current instance to F:System.Threading.ThreadState.Running, and optionally supplies an object containing data to be used by the method the thread executes.
parameter | An object that contains data to be used by the method the thread executes. |
T:System.Threading.ThreadStateException | The thread has already been started. |
T:System.OutOfMemoryException | There is not enough memory available to start this thread. |
T:System.InvalidOperationException | This thread was created using a T:System.Threading.ThreadStart delegate instead of a T:System.Threading.ParameterizedThreadStart delegate. |
void System.Threading.Thread.Suspend | ( | ) |
Either suspends the thread, or if the thread is already suspended, has no effect.
T:System.Threading.ThreadStateException | The thread has not been started or is dead. |
T:System.Security.SecurityException | The caller does not have the appropriate T:System.Security.Permissions.SecurityPermission. |
bool System.Threading.Thread.TrySetApartmentState | ( | ApartmentState | state | ) |
Sets the apartment state of a thread before it is started.
state | The new apartment state. |
true
if the apartment state is set; otherwise, false
.T:System.ArgumentException | state is not a valid apartment state. |
T:System.Threading.ThreadStateException | The thread has already been started. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache.
address | The field to be read. |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
getset |
Gets or sets the apartment state of this thread.
Unknown
.
|
staticget |
|
getset |
|
staticgetset |
Gets or sets the thread's current principal (for role-based security).
T:System.Security.SecurityException | The caller does not have the permission required to set the principal. |
|
staticget |
|
getset |
Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.
T:System.ArgumentNullException | The property is set to null . |
T:System.ArgumentException | The property is set to a culture name that cannot be used to locate a resource file. Resource filenames must include only letters, numbers, hyphens or underscores. |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
getset |
|
getset |
Gets or sets a value indicating the scheduling priority of a thread.
T:System.Threading.ThreadStateException | The thread has reached a final state, such as F:System.Threading.ThreadState.Aborted. |
T:System.ArgumentException | The value specified for a set operation is not a valid T:System.Threading.ThreadPriority value. |
|
get |