Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
TypeName |
DoNotUseIdleProcessPriority |
CheckId |
CA1600 |
Category |
Microsoft.Mobility |
Breaking Change |
Breaking |
Cause
This rule fires when processes set to ProcessPriorityClass.Idle.
Rule Description
Do not set process priority to Idle. Processes with System.Diagnostics.ProcessPriorityClass.Idle will occupy the CPU when it would otherwise be idle, and thereby block standby.
How to Fix Violations
Set processes to ProcessPriorityClass.BelowNormal.
When to Suppress Warnings
This rules should be suppressd only when Idle process priority is required and mobility considerations can safely be ignored.