WebProcessStatistics.PeakWorkingSet Property

Definition

Gets the peak working set for the lifetime of the process to date.

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

Property Value

The peak working set of the process.

Examples

The following code example shows how to get the PeakWorkingSet value.

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

Applies to