ProcessResourcePolicy(Nullable, Nullable, Nullable, ProcessPriorityClass, Boolean) Constructor

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Instantiates the ProcessResourcePolicy with default values unless specified parameters are provided.

public ProcessResourcePolicy(nint? processorAffinity = default(nint? ), nint? minWorkingSet = default(nint? ), nint? maxWorkingSet = default(nint? ), ProcessPriorityClass priorityClass = ProcessPriorityClass.Normal, bool enablePriorityBoost = false)

Parameters

processorAffinity
Nullable<IntPtr>

The processor affinity to be used for the Process.

minWorkingSet
Nullable<IntPtr>

The Minimum Working Set Size for the Process.

maxWorkingSet
Nullable<IntPtr>

The Maximum Working Set Size for the Process.

priorityClass
ProcessPriorityClass

The priority class to assign to the Process.

enablePriorityBoost
Boolean

Whether to enable Priority Boost if the process window enters focus.