Share via


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.

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)

Syntax

'Declaration
<ConfigurationPropertyAttribute("maximumElementsInCacheBeforeScavenging", IsRequired := True)> _
PublicPropertyMaximumElementsInCacheBeforeScavengingAs Integer
[ConfigurationPropertyAttribute("maximumElementsInCacheBeforeScavenging", IsRequired = true)]
public int MaximumElementsInCacheBeforeScavenging { get; set; }
[ConfigurationPropertyAttribute(L"maximumElementsInCacheBeforeScavenging", IsRequired = true)]
public:
property int MaximumElementsInCacheBeforeScavenging {
    int get ();
    voidset (int value);
}
publicfunction getMaximumElementsInCacheBeforeScavenging () : int
publicfunction setMaximumElementsInCacheBeforeScavenging (value : int)

See Also

CacheManagerData Class

Microsoft.Practices.EnterpriseLibrary.Caching.Configuration Namespace

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.