Partager via


CacheManagerNode.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.

Gets or sets the maximum elements in the cache before it is scavenged.

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

Syntax

'Declaration
<RequiredAttribute> _
<AssertRangeAttribute(, RangeBoundaryType.Inclusive, , RangeBoundaryType.Inclusive)> _
PublicPropertyMaximumElementsInCacheBeforeScavengingAs Integer
[RequiredAttribute]
[AssertRangeAttribute(, RangeBoundaryType.Inclusive, , RangeBoundaryType.Inclusive)]
public int MaximumElementsInCacheBeforeScavenging { get; set; }
[RequiredAttribute]
[AssertRangeAttribute(, RangeBoundaryType::Inclusive, , RangeBoundaryType::Inclusive)]
public:
property int MaximumElementsInCacheBeforeScavenging {
    int get ();
    voidset (int value);
}
publicfunction getMaximumElementsInCacheBeforeScavenging () : int
publicfunction setMaximumElementsInCacheBeforeScavenging (value : int)

Field Value

The maximum elements in the cache before it is scavenged.

See Also

CacheManagerNode Class

Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.Design 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.