Microsoft.Data.Caching Namespace
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The MIcrosoft.Data.Caching namespace provides access to an in-memory application cache application for developing scalable, high-performance applications. This namespace can be used to cache any common language runtime (CLR) object and provides access through simple APIs.
Classes
Class | Description | |
---|---|---|
DataCache | The object that is used by cache-enabled applications for storing and retrieving objects from the cache cluster. An instance of this object is referred to as the cache client. | |
DataCacheErrorCode | A static class used to store global error codes. | |
DataCacheException | Used for cache-related exceptions. | |
DataCacheFactory | Provides methods to return DataCache objects that are mapped to a named cache. This class also enables programmatic configuration of the cache client. | |
DataCacheItem | Used to retrieve all information associated with the cached object in the cluster. | |
DataCacheItemVersion | Used to represent the version of a cached object. | |
DataCacheLockHandle | The structure used as a key to lock and unlock cached objects in a pessimistic concurency scenario. | |
DataCacheLogSink | Used to specify an individual log sink. | |
DataCacheNotificationDescriptor | Identifies a cache notification callback. This identifier is required to remove the corresponding cache notification callback. | |
DataCacheServerEndpoint | Used to specify an individual cache host when programmatically configuring the cache client. | |
DataCacheSessionStoreProvider | A session storage provider that enables Web applications to store session-state data to a distributed cache system. | |
DataCacheTag | Represents an optional string-based identifier that you can associate with a cached object. |
Delegates
Delegate | Description | |
---|---|---|
DataCacheFailureNotificationCallback | Specifies the parameters required for a method to be invoked by a failure notification when the cache client misses cache notifications. | |
DataCacheNotificationCallback | Specifies the parameters required for a method to be invoked by a cache notification. |
Enumerations
Enumeration | Description | |
---|---|---|
DataCacheLocalCacheSyncPolicy | Specifies the way locally cached objects should be invalidated. | |
DataCacheOperation | An enumeration used to specify specific item or region events that can trigger a cache notification. | |
DataCacheSinkType | Used to specify the type of log sink used to trace events on the cache client. |