Cache.EffectivePrivateBytesLimit Property

Gets the number of bytes available for the cache.

Namespace: System.Web.Caching
Assembly: System.Web (in system.web.dll)

public:
property long long EffectivePrivateBytesLimit {
	long long get ();
}
/** @property */
public long get_EffectivePrivateBytesLimit ()

public function get EffectivePrivateBytesLimit () : long

Not applicable.

Property Value

The number of bytes available for the cache.

The EffectivePrivateBytesLimit property returns the number of bytes that can be used by the application process. Once this limit is reached, the cache algorithm begins aggressively scavenging the cache.

The EffectivePrivateBytesLimit property can be set with the privateBytesLimit attribute of the cache Element for caching (ASP.NET Settings Schema) element in the application's configuration file. When the privateBytesLimit attribute is not set, the cache algorithm determines the maximum size of the cache, and the EffectivePrivateBytesLimit property contains the size chosen by the algorithm.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: