Language

CacheFactory Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Before working with the cache, you must instantiate the CacheFactory class. If no parameters are provided to the CacheFactory class constructor, the cache client configuration parameters come from the application configuration file. If configuration parameters are passed to the CacheFactory class constructor, those configuration settings are used for all cache clients obtained from that CacheFactory object. Configuration parameters passed to the constructor override settings specified in the application configuration file. For more information about configuration options and settings for the cache client, see Configuration (Velocity).

Overload List

Name Description
CacheFactory ()
Used for configuring a cache client based on the application configuration file.
CacheFactory (ServerEndPoint[], Boolean, Boolean)
Used for configuring a cache client programmatically, based on the parameter values provided.

See Also

Reference

CacheFactory Class
CacheFactory Members
System.Data.Caching Namespace