WebProcessStatistics.PeakWorkingSet 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取目前为止进程生存期的峰值工作集。
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