System.Web
2.0.0.0
System.Configuration.ConfigurationSection
The class provides a way to programmatically access and modify the <cache> section of a configuration file.
The ASP.NET caching feature is implemented by the class. For more information, see ASP.NET Caching Features.
The can write information into the related section of the configuration file according to the restrictions defined by the section property whose value is . Any attempt to write in a configuration file at a level not allowed in the hierarchy will result in an error message generated by the parser. However, you can use this class to read configuration information at any level in the hierarchy.
A cache is an application-specific hash table used to store frequently accessed data. Application and session state are similar to the cache, the application state being the most similar, due to its application-wide scope. One of the biggest differences between the cache and the application-state mechanism is that the cache supports dependencies These dependencies make it possible to build applications that automatically remove cached items when certain events occur.
Configures the global cache settings for an ASP.NET application. This class cannot be inherited.
Constructor
The constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the class by using the method.
Initializes a new instance of the class.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("disableExpiration", DefaultValue="False")
System.Boolean
To be added.
If the property is set to true, the cached items never expire. This setting is intended to help debug cache behavior in application code. Use caution when disabling cache expiration, as this might result in items being cached longer than they are valid.
To add a page to the output cache, you must establish an expiration policy for that page. You can do this declaratively with the @ OutputCache directive or programmatically using the method. For more information, see How to: Set Expirations for Page Caching.
Gets or sets a value indicating whether the cache expiration is disabled.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("disableMemoryCollection", DefaultValue="False")
System.Boolean
To be added.
If the property is set to true, calls to the cache-related API will have no effect.
If the property is set to true, the cache does not attempt to collect unused items. Use caution when using this setting, as disabling memory collection can quickly lead to Out of Memory conditions for the application.
This setting has no effect on the ASP.NET internal cache or on the output cache. For more information about the different types of cache, see ASP.NET Caching Features.
Gets or sets a value indicating whether the cache memory collection is disabled.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("percentagePhysicalMemoryUsedLimit", DefaultValue="0")
System.Configuration.IntegerValidator(MinValue=0, MaxValue=100)
System.Int32
To be added.
The property specifies the threshold for high pressure conditions. As this threshold is approached, the cache system gradually begins more aggressive scavenging measures.
Gets or sets a value indicating the maximum percentage of virtual memory usage.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("privateBytesLimit", DefaultValue="0")
System.Configuration.LongValidator(MinValue=0, MaxValue=9223372036854775807)
System.Int64
To be added.
The property specifies the threshold for high pressure conditions. As this threshold is approached, the cache system gradually begins more aggressive scavenging measures.
Gets or sets a value indicating the maximum size of the working-process private space.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("privateBytesPollTime", DefaultValue="00:02:00")
System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))
System.TimeSpan
To be added.
This polling is expensive and might need to be adjusted as a tradeoff between reaction speed of the cache-trimming algorithm and number of polling calls made.
Gets or sets a value indicating the time interval between polling for the worker-process memory usage.
2.0.0.0
Property
System.Configuration.ConfigurationPropertyCollection
To be added.
To be added.
To be added.
2.0.0.0