Share via


DataCacheFactory Constructor ()

Used for configuring a cache client based on the application configuration file.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

Usage

'Usage
Dim instance As New DataCacheFactory

Syntax

'Declaration
Public Sub New
public DataCacheFactory ()
public:
DataCacheFactory ()
public DataCacheFactory ()
public function DataCacheFactory ()

Remarks

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. For more information, see Get Started with a Cache Client (XML).

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheFactory Class
DataCacheFactory Members
Microsoft.ApplicationServer.Caching Namespace

Other Resources

Application Configuration Settings

  2011-08-26