Cache.EffectivePrivateBytesLimit Property Home
This page is specific to:.NET Framework Version:2.03.03.54.0
Cache.EffectivePrivateBytesLimit Property
Gets the number of bytes available for the cache.

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

'Usage

Dim instance As Cache
Dim value As Long

value = instance.EffectivePrivateBytesLimit


'Declaration

Public ReadOnly Property EffectivePrivateBytesLimit As Long
/** @property */
public long get_EffectivePrivateBytesLimit ()

Not applicable.

Property Value

The number of bytes available for the cache.
Remarks

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.

Platforms

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.
Version Information

.NET Framework

Supported in: 3.0, 2.0
See Also

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View