CA1600: Do not use idle process priority

 

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

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: