共用方式為


Process.PeakWorkingSet 屬性

定義

警告

This property has been deprecated. Please use System.Diagnostics.Process.PeakWorkingSet64 instead. https://go.microsoft.com/fwlink/?linkid=14202

警告

Process.PeakWorkingSet has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakWorkingSet64 instead.

警告

This property has been deprecated. Please use System.Diagnostics.Process.PeakWorkingSet64 instead. http://go.microsoft.com/fwlink/?linkid=14202

取得相關處理序工作集大小的最大值 (位元組)。

public:
 property int PeakWorkingSet { int get(); };
[System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public int PeakWorkingSet { get; }
[System.Obsolete("Process.PeakWorkingSet has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakWorkingSet64 instead.")]
public int PeakWorkingSet { get; }
[System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public int PeakWorkingSet { get; }
public int PeakWorkingSet { get; }
[<System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.PeakWorkingSet : int
[<System.Obsolete("Process.PeakWorkingSet has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakWorkingSet64 instead.")>]
member this.PeakWorkingSet : int
[<System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.PeakWorkingSet : int
member this.PeakWorkingSet : int
Public ReadOnly Property PeakWorkingSet As Integer

屬性值

最大實體記憶體數量,為相關的處理序一次所需的量 (位元組),

屬性

備註

程序的工作集是實體 RAM 記憶體中程序目前可見的記憶體分頁集。 這些頁面是常駐的,可供應用程式使用,而不會觸發分頁錯誤。

工作集包含共用和私人數據。 共用數據包含包含進程執行的所有指示的頁面,包括進程模組和系統連結庫。

適用於

另請參閱