public enum ThreadPriority
Object
ValueType
Enum
ThreadPriority
mscorlib
BCL
Specifies the scheduling priority of a Thread.
ThreadPriority values specify the relative scheduling priority of threads.Operating systems are not guaranteed to support preemptive scheduling. Also, the concept of "thread priority" might not exist at all or its meaning might vary, depending on the underlying operating system. Implementers of this type are required to describe how the notion of thread priority maps to operating system priority. For more information about threads, see the Thread class.
The System.Threading.Thread.Priority property sets and returns the priority value information for a thread. Applications can request a scheduling priority for a thread by setting the System.Threading.Thread.Priority property to the appropriate
ThreadPriority
value. The default thread priority is System.Threading.ThreadPriority.Normal .[Note: A thread cannot be scheduled if it is in the System.Threading.ThreadState.Unstarted state or the System.Threading.ThreadState.Stopped state. ]
System.Threading Namespace
ThreadPriority Fields
ThreadPriority.AboveNormal Field
ThreadPriority.BelowNormal Field
ThreadPriority.Highest Field
ThreadPriority.Lowest Field
ThreadPriority.Normal Field
ThreadPriority.value__ Field
AboveNormal = 3;
Threads with this priority can be scheduled after threads with System.Threading.ThreadPriority.Highest priority and before those with System.Threading.ThreadPriority.Normal priority.
System.Threading.ThreadPriority Enum, System.Threading Namespace
BelowNormal = 1;
Threads with this priority can be scheduled after threads with System.Threading.ThreadPriority.Normal priority, and before those with System.Threading.ThreadPriority.Lowest priority.
System.Threading.ThreadPriority Enum, System.Threading Namespace
Highest = 4;
Threads with this priority can be scheduled before threads with any other priority.
System.Threading.ThreadPriority Enum, System.Threading Namespace
Lowest = 0;
Threads with this priority can be scheduled after threads with any other priority.
System.Threading.ThreadPriority Enum, System.Threading Namespace
Normal = 2;
Threads with this priority can be scheduled after threads with System.Threading.ThreadPriority.AboveNormal priority and before those with System.Threading.ThreadPriority.BelowNormal priority.Threads have System.Threading.ThreadPriority.Normal priority by default.
System.Threading.ThreadPriority Enum, System.Threading Namespace
value__;
System.Threading.ThreadPriority Enum, System.Threading Namespace