Share via


InMemoryCacheData.MaxItemsBeforeScavenging 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.

Gets or sets the 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.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0

Syntax

public int MaxItemsBeforeScavenging { get; set; }
'Declaration
Public Property MaxItemsBeforeScavenging As Integer
    Get
    Set
public:
property int MaxItemsBeforeScavenging {
    int get ();
    void set (int value);
}

See Also

InMemoryCacheData Class

Microsoft.Practices.EnterpriseLibrary.Caching.Configuration Namespace