SALES: 1-800-867-1380

DataCacheFactory Constructor

Used for configuring the type of cache client that is returned by the GetCache(String) method.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DataCacheFactory()()()() Used for configuring a cache client based on the application configuration file.
Public method DataCacheFactory(DataCacheFactoryConfiguration) Used for programmatically configuring a cache client.
Top

Before working with the cache, you must instantiate the DataCacheFactory class. If no parameters are provided to the DataCacheFactory class constructor, the cache client configuration parameters come from the application configuration file. If configuration settings are passed to the DataCacheFactory class constructor, those configuration settings are used for all cache clients obtained from that DataCacheFactory object. Configuration settings passed to the constructor override settings specified in the application configuration file.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft