System.Web.Configuration.CacheSection.DisableMemoryCollection Property

Gets or sets a value indicating whether the cache memory collection is disabled.

Syntax

[System.Configuration.ConfigurationProperty("disableMemoryCollection", DefaultValue="False")]
public bool DisableMemoryCollection { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the CacheSection.DisableMemoryCollection property is set to true, calls to the cache-related API will have no effect.

If the CacheSection.DisableMemoryCollection 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.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0