Represents a set of features that a cache implementation provides.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
|A cache implementation does not provide any of the features that are described in the enumeration.|
|A cache implementation runs at least partially in memory. A distributed cache would not set this flag, whereas an in-memory cache such as the MemoryCache class would do so.|
|A cache implementation runs out-of-process. A distributed cache would set this flag, whereas an in-memory cache such as the MemoryCache class would not.|
|A cache implementation supports the ability to create change monitors that monitor entries.|
|A cache implementation supports the ability to automatically remove cache entries at a specific date and time.|
|A cache implementation supports the ability to automatically remove cache entries that have not been accessed in a specified time span.|
|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.|
|A cache implementation can raise a notification that an entry has been removed from the cache.|
|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.|
The class is a flag enumeration. The field values are bits and can be combined as a set of flags that describe the capabilities of the cache.
The enumeration can be used to programmatically set the behavior of the cache implementation. This behavior is based on the combination of features that a particular cache implements.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)