共用方式為


WebProcessStatistics.PeakWorkingSet 屬性

定義

取得處理序執行到目前為止整個過程中的尖峰工作集。

public:
 property long PeakWorkingSet { long get(); };
public long PeakWorkingSet { get; }
member this.PeakWorkingSet : int64
Public ReadOnly Property PeakWorkingSet As Long

屬性值

處理序的尖峰工作集。

範例

下列程式碼範例示範如何取得 PeakWorkingSet 值。

public string GetPeakWorkingSet()
{
    // Get the peak working set.
    return (string.Format(
        "Peak working set: {0}",
        processStatistics.PeakWorkingSet.ToString()));
}
Public Function GetPeakWorkingSet() As String
    ' Get the peak working set.
    Return String.Format( _
    "Peak working set: {0}", _
    processStatistics.PeakWorkingSet.ToString())
End Function 'GetPeakWorkingSet

適用於