DataCache Constructor (String)

 

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

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

Syntax

public DataCache(
    string cacheName
)
public:
DataCache(
    String^ cacheName
)
new : 
        cacheName:string -> DataCache
Public Sub New (
    cacheName As String
)

Parameters

  • cacheName
    Type: System.String

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

See Also

DataCache Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top