public System.Diagnostics.ProcessModule? MainModule { get { throw null; } }
public System.IntPtr MainWindowHandle { get { throw null; } }
public string MainWindowTitle { get { throw null; } }
- public System.IntPtr MaxWorkingSet { get { throw null; } [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")] set { } }
- public System.IntPtr MinWorkingSet { get { throw null; } [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")] set { } }
+ public System.IntPtr MaxWorkingSet { get { throw null; } [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")] [System.Runtime.Versioning.SupportedOSPlatformAttribute("macos")] [System.Runtime.Versioning.SupportedOSPlatformAttribute("freebsd")] set { } }
+ public System.IntPtr MinWorkingSet { get { throw null; } [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")] [System.Runtime.Versioning.SupportedOSPlatformAttribute("macos")] [System.Runtime.Versioning.SupportedOSPlatformAttribute("freebsd")] set { } }
public System.Diagnostics.ProcessModuleCollection Modules { get { throw null; } }
[System.ObsoleteAttribute("This property has been deprecated. Please use System.Diagnostics.Process.NonpagedSystemMemorySize64 instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public int NonpagedSystemMemorySize { get { throw null; } }
}
}
- /// <devdoc>
- /// <para>
- /// Gets or sets the maximum allowable working set for the associated
- /// process.
- /// </para>
- /// </devdoc>
+ /// <summary>
+ /// Gets or sets the maximum allowable working set for the associated process.
+ /// </summary>
+ /// <remarks>On macOS and FreeBSD, setting the value works only for the current process.</remarks>
public IntPtr MaxWorkingSet
{
get
return _maxWorkingSet;
}
[SupportedOSPlatform("windows")]
+ [SupportedOSPlatform("macos")]
+ [SupportedOSPlatform("freebsd")]
set
{
SetWorkingSetLimits(null, value);
}
}
- /// <devdoc>
- /// <para>
- /// Gets or sets the minimum allowable working set for the associated
- /// process.
- /// </para>
- /// </devdoc>
+ /// <summary>
+ /// Gets or sets the minimum allowable working set for the associated process.
+ /// </summary>
+ /// <remarks>On macOS and FreeBSD, setting the value works only for the current process.</remarks>
public IntPtr MinWorkingSet
{
get
return _minWorkingSet;
}
[SupportedOSPlatform("windows")]
+ [SupportedOSPlatform("macos")]
+ [SupportedOSPlatform("freebsd")]
set
{
SetWorkingSetLimits(value, null);