Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProcessThread.PriorityBoostEnabled Property


Gets or sets a value indicating whether the operating system should temporarily boost the priority of the associated thread whenever the main window of the thread's process receives the focus.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public bool PriorityBoostEnabled { get; set; }

Property Value

Type: System.Boolean

true to boost the thread's priority when the user interacts with the process's interface; otherwise, false. The default is false.

Exception Condition

The priority boost information could not be retrieved.


The priority boost information could not be set.


The platform is Windows 98 or Windows Millennium Edition.


The process is on a remote computer.

When PriorityBoostEnabled is true, the system temporarily boosts the thread's priority whenever its associated process is taken out of the wait state. This action prevents other processes from interrupting the processing of the current thread. The PriorityBoostEnabled setting affects all existing threads as well as any threads subsequently created by the process. To restore normal behavior, set the PriorityBoostEnabled property to false.

PriorityBoostEnabled has an effect only when the thread is running in a process that has a PriorityClass set to one of the dynamic priority enumeration values (Normal, High, or RealTime).


Boosting the priority too high can drain resources from essential operating system and network functions. This could cause problems with other operating system tasks.

.NET Framework
Available since 1.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft