CacheEntryRemovedReason Enumeration
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. |
Specifies the reason why a cache entry was removed or an entry is about to be removed.
Namespace: Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0
Syntax
public enum CacheEntryRemovedReason
'Declaration
Public Enumeration CacheEntryRemovedReason
public enum class CacheEntryRemovedReason
Members
Member name | Value | Description | |
---|---|---|---|
Removed | 0 | A cache entry was removed by using the Remove(String, String) or Set(String, Object, DateTimeOffset, String) method. | |
Expired | 1 | A cache entry was removed because it expired. Expiration can be based on an absolute time or on a sliding expiration time. | |
Evicted | 2 | A cache entry was removed to free memory in the cache. This occurs when a cache instance approaches cache-specific memory limits, or when a process or cache instance approaches computer-wide memory limits. |
See Also
Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching Namespace