LowPhysicalMemoryInfo LowPhysicalMemoryInfo LowPhysicalMemoryInfo LowPhysicalMemoryInfo Class

定義

封裝由應用程式的記憶體監視器所引發之事件的相關資訊。Encapsulates information about events raised by the application's memory monitor.

public ref class LowPhysicalMemoryInfo sealed
public sealed class LowPhysicalMemoryInfo
type LowPhysicalMemoryInfo = class
Public NotInheritable Class LowPhysicalMemoryInfo
繼承
LowPhysicalMemoryInfoLowPhysicalMemoryInfoLowPhysicalMemoryInfoLowPhysicalMemoryInfo

建構函式

LowPhysicalMemoryInfo(Int32, Int32) LowPhysicalMemoryInfo(Int32, Int32) LowPhysicalMemoryInfo(Int32, Int32) LowPhysicalMemoryInfo(Int32, Int32)

利用所使用的指定百分比和百分比限制,初始化 LowPhysicalMemoryInfo 類別的新執行個體。Initializes a new instance of the LowPhysicalMemoryInfo class with the specified percent used and percent limit.

屬性

CurrentPercentUsed CurrentPercentUsed CurrentPercentUsed CurrentPercentUsed

取得已偵測到電腦上所使用的 RAM 總計百分比。Gets the detected percent of total RAM used on the machine. 這個值可以是 0 到 100。Value may be from 0 to 100.

PercentLimit PercentLimit PercentLimit PercentLimit

取得已針對電腦判定使用的 RAM 百分比限制。Gets the determined used-RAM percentage limit for the machine. 這個值可以是 0 到 100。Value may be from 0 to 100.

RequestGC RequestGC RequestGC RequestGC

設定傳回可觀察事件來源的布林值,這個值可用來指出事件來源是否應該在所有觀察者處理事件之後引發記憶體回收。Sets a Boolean value returned to the source of the observable event that may be used to indicate whether the source of the event should induce a Garbage Collection after all observers have processed the event. (ASP.NET 的預設記憶體不足監視器會忽略此旗標,不引發記憶體回收。)(The default low memory monitor in ASP.NET ignores this flag and does not induce Garbage Collection.)

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於