Cache.EffectivePrivateBytesLimit 屬性

定義

取得快取可用的位元組數目。

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

屬性值

Int64

快取可用的位元組數目。

範例

EffectivePercentagePhysicalMemoryLimit

備註

屬性 EffectivePrivateBytesLimit 會傳回應用程式進程可以使用的位元組數目。 達到此限制之後,快取演算法就會開始積極清除快取。

EffectivePrivateBytesLimit屬性可以使用快取元素的 屬性來設定 privateBytesLimit以 (ASP.NET 設定在應用程式的組態檔中快取架構) 元素。 privateBytesLimit未設定屬性時,快取演算法會決定快取的大小上限,而 EffectivePrivateBytesLimit 屬性則包含演算法所選擇的大小。

適用於