DataCacheFactory Class
Provides methods to return DataCache objects that are mapped to a named cache. This class also enables programmatic configuration of the cache client.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
The DataCacheFactory type exposes the following members.
| Name | Description | |
|---|---|---|
|
DataCacheFactory()()()() | Used for configuring a cache client based on the application configuration file. |
|
DataCacheFactory(DataCacheFactoryConfiguration) | Used for programmatically configuring a cache client. |
| Name | Description | |
|---|---|---|
|
Dispose | Closes the DataCacheFactory object and releases all associated resources. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetCache | Returns the cache client, an instance of the DataCache object. |
|
GetDefaultCache | Returns the cache client corresponding to the default cache, an instance of the DataCache object. |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |