CacheManagerData.MaximumElementsInCacheBeforeScavenging Property
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, _
DefaultValue := )> _
Public Property MaximumElementsInCacheBeforeScavenging As Integer
[ConfigurationPropertyAttribute("maximumElementsInCacheBeforeScavenging", IsRequired = true,
DefaultValue = )]
public int MaximumElementsInCacheBeforeScavenging { get; set; }
[ConfigurationPropertyAttribute(L"maximumElementsInCacheBeforeScavenging", IsRequired = true,
DefaultValue = )]
public:
property int MaximumElementsInCacheBeforeScavenging {
int get ();
void set (int value);
}
public function get MaximumElementsInCacheBeforeScavenging () : int
public function set MaximumElementsInCacheBeforeScavenging (value : int)
See Also
Microsoft.Practices.EnterpriseLibrary.Caching.Configuration Namespace