CA1600: Do not use idle process priority

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see CA1600: Do not use idle process priority on docs.microsoft.com.

TypeNameDoNotUseIdleProcessPriority
CheckIdCA1600
CategoryMicrosoft.Mobility
Breaking ChangeBreaking

This rule occurs when processes are set to ProcessPriorityClass.Idle.

Do not set process priority to Idle. Processes that have System.Diagnostics.ProcessPriorityClass.Idle will occupy the CPU when it would otherwise be idle, and will therefore block standby.

Set processes to ProcessPriorityClass.BelowNormal.

This rule should be suppressed only when Idle process priority is required and mobility considerations can be ignored safely.

Show: