SetMaxWorkingSet(Nullable) Method

Definition

Assembly CliInvoke.Core.dll

Sets the maximum working set size for the process resource policy.

[SupportedOSPlatform("windows")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("freebsd")]
public ProcessResourcePolicySpec SetMaxWorkingSet(nint? maxWorkingSet)

Parameters

maxWorkingSet
Nullable<IntPtr>

The maximum working set to be used, or null to leave it unset.

Returns