Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The System.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 | |
|---|---|---|
![]() |
Cache | The primary 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. |
![]() |
CacheErrorCode | A static class used to store global error codes. |
![]() |
CacheException | Used for cache-related exceptions. |
![]() |
CacheFactory | Provides methods to return Cache objects that are mapped to a named cache. This class also enables programmatic configuration of the cache client. |
![]() |
CacheItem | Used to retrieve all information associated with the cached object in the cluster. |
![]() |
CacheItemVersion | Used to represent the version of a cached object. |
![]() |
LogSink | Used to specify an individual log sink. |
![]() |
ServerEndPoint | Used to specify an individual cache host when programmatically configuring the cache client. |
![]() |
SessionStoreProvider | A session storage provider that enables Web applications to store session-state data to a distributed cache system. |
![]() |
Tag | Represents an optional string-based identifier that you can associate with a cached object. |
Structures
| Structure | Description | |
|---|---|---|
![]() |
LockHandle | The structure used as a key to lock and unlock cached objects in a pessimistic concurency scenario. |
Enumerations
| Enumeration | Description | |
|---|---|---|
![]() |
EvictionType | Used to specify the eviction behavior of the cache. |
![]() |
SinkType | Used to specify the type of log sink used to trace events on the cache client. |
.png)
.png)
.png)