Cache.EffectivePrivateBytesLimit 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得快取可用的位元組數。
public:
property long EffectivePrivateBytesLimit { long get(); };
public long EffectivePrivateBytesLimit { get; }
member this.EffectivePrivateBytesLimit : int64
Public ReadOnly Property EffectivePrivateBytesLimit As Long
屬性值
快取可用位元組數。
範例
EffectivePercentagePhysicalMemoryLimit
備註
該 EffectivePrivateBytesLimit 屬性會回傳應用程式程序可使用的位元組數。 一旦達到這個上限,快取演算法就會開始積極搜尋快取。
EffectivePrivateBytesLimit該屬性可透過privateBytesLimit應用程式設定檔中快取元素的屬性設定(ASP.NET 設定結構)元素。 當 privateBytesLimit 屬性未被設定時,快取演算法會決定快取的最大大小,而該 EffectivePrivateBytesLimit 屬性包含演算法所選擇的大小。