Jaa


DataCacheFactory Constructor (DataCacheFactoryConfiguration)

Used for programmatically configuring a cache client.

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

Usage

'Usage
Dim configuration As DataCacheFactoryConfiguration

Dim instance As New DataCacheFactory(configuration)

Syntax

'Declaration
Public Sub New ( _
    configuration As DataCacheFactoryConfiguration _
)
public DataCacheFactory (
    DataCacheFactoryConfiguration configuration
)
public:
DataCacheFactory (
    DataCacheFactoryConfiguration^ configuration
)
public DataCacheFactory (
    DataCacheFactoryConfiguration configuration
)
public function DataCacheFactory (
    configuration : DataCacheFactoryConfiguration
)

Parameters

Remarks

This overloaded constructor enables you to programmatically configure a cache client. First create an instance of the DataCacheFactoryConfiguration class and use its properties to define the settings for the cache client. Then pass this object to this constructor. For more information, see Get Started with a Cache Client.

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

  ff425062(v=azure.10).md 2011-08-26