WebProcessStatistics.PeakWorkingSet Właściwość

Definicja

Pobiera szczytowy zestaw roboczy dla okresu istnienia procesu do tej pory.

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

Wartość właściwości

Szczytowy zestaw roboczy procesu.

Przykłady

Poniższy przykład kodu pokazuje, jak uzyskać PeakWorkingSet wartość.

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

Dotyczy