This documentation is archived and is not being maintained.

ProcessThread.PriorityLevel Property

Gets or sets the priority level of the thread.

[Visual Basic]
Public Property PriorityLevel As ThreadPriorityLevel
public ThreadPriorityLevel PriorityLevel {get; set;}
public: __property ThreadPriorityLevel get_PriorityLevel();
public: __property void set_PriorityLevel(ThreadPriorityLevel);
public function get PriorityLevel() : ThreadPriorityLevel;
public function set PriorityLevel(ThreadPriorityLevel);

Property Value

One of the ThreadPriorityLevel values, specifying a range that bounds the thread's priority.


The priority level is not a single value, but rather a range of values. The operating system computes the thread's base priority by using the process's PriorityClass to choose a value from the range specified in the PriorityLevel property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ProcessThread Class | ProcessThread Members | System.Diagnostics Namespace | ThreadPriorityLevel | PriorityClass | BasePriority | CurrentPriority