Cache.EffectivePercentagePhysicalMemoryLimit 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得應用程式在開始移除快取項目前,可被應用程式消耗的實體記憶體百分比 ASP.NET
public:
property long EffectivePercentagePhysicalMemoryLimit { long get(); };
public long EffectivePercentagePhysicalMemoryLimit { get; }
member this.EffectivePercentagePhysicalMemoryLimit : int64
Public ReadOnly Property EffectivePercentagePhysicalMemoryLimit As Long
屬性值
應用程式可用的實體記憶體百分比。
備註
該屬性會 EffectivePercentagePhysicalMemoryLimit 回傳應用程式可用的實體記憶體百分比。 當可用百分比變低時,快取演算法開始從快取中移除項目。
EffectivePercentagePhysicalMemoryLimit該屬性可透過percentagePhysicalMemoryUsedLimit應用程式設定檔中快取元素的屬性設定(ASP.NET 設定結構)元素。 若未設定屬性 percentagePhysicalMemoryUsedLimit ,快取演算法會決定快取的最大大小,並計算該 EffectivePercentagePhysicalMemoryLimit 屬性。
EffectivePercentagePhysicalMemoryLimit 在 .NET Framework 3.5 版本中引入。 欲了解更多資訊,請參閱 版本與相依關係。