CA1600: Do not use idle process priority
Collapse the table of content
Expand the table of content

CA1600: Do not use idle process priority

 

TypeName

DoNotUseIdleProcessPriority

CheckId

CA1600

Category

Microsoft.Mobility

Breaking Change

Breaking

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:
© 2016 Microsoft