Поделиться через


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

Represents a set of features that a cache implementation provides.

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

[FlagsAttribute]
public enum DefaultCacheCapabilities
'Declaration
<FlagsAttribute> _
Public Enumeration DefaultCacheCapabilities
[FlagsAttribute]
public enum class DefaultCacheCapabilities

Members

Member name Value Description
None 0 A cache implementation does not provide any of the features that are described in the DefaultCacheCapabilities enumeration.
InMemoryProvider 1 A cache implementation runs at least partially in memory.
OutOfProcessProvider 2 A cache implementation runs out-of-process.
CacheEntryChangeMonitors 4 A cache implementation supports the ability to create change monitors that monitor entries.
AbsoluteExpirations 8 A cache implementation supports the ability to automatically remove cache entries at a specific date and time.
SlidingExpirations 16 A cache implementation supports the ability to automatically remove cache entries that have not been accessed in a specified time span.
CacheEntryUpdateCallback 32 A cache implementation can raise a notification that an entry is about to be removed from the cache. This setting also indicates that a cache implementation supports the ability to automatically replace the entry that is being removed with a new cache entry.
CacheEntryRemovedCallback 64 A cache implementation can raise a notification that an entry has been removed from the cache.
CacheRegions 128 A cache implementation supports the ability to partition its storage into cache regions, and supports the ability to insert cache entries into those regions and to retrieve cache entries from those regions.

See Also

Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching Namespace