CacheManagerData.MaximumElementsInCacheBeforeScavenging Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Maximum number of items in cache before an add causes scavenging to take place

Namespace:  Microsoft.Practices.EnterpriseLibrary.Caching.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Caching (in Microsoft.Practices.EnterpriseLibrary.Caching.dll)

[ConfigurationPropertyAttribute("maximumElementsInCacheBeforeScavenging", IsRequired = true)]
public int MaximumElementsInCacheBeforeScavenging { get; set; }