DataCache Constructor (String, String)

 

Creates a DataCache that accesses the specified cache name; uses settings in the named cache client configuration.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Public Sub New (
	cacheName As String,
	clientConfigurationName As String
)

Parameters

cacheName
Type: System.String

The named cache to use. For Windows Azure Shared Caching, this must be "default".

clientConfigurationName
Type: System.String

The cache client configuration to use to initialize the DataCache object.

Return to top
Show: