DataCacheFactory.GetDefaultCache Method ()

 

Returns the cache client corresponding to the default cache, an instance of the DataCache object.

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

Syntax

public DataCache GetDefaultCache()
public:
DataCache^ GetDefaultCache()
member GetDefaultCache : unit -> DataCache
Public Function GetDefaultCache As DataCache

Return Value

Type: Microsoft.ApplicationServer.Caching.DataCache

The cache client, an instance of the DataCache object.

Remarks

For Microsoft AppFabric 1.1 for Windows Server Caching, the default cache is automatically created when the caching features are installed and configured.

For Windows Azure Caching, the default cache is automatically available with any cache cluster hosted on Windows Azure roles. For Windows Azure Shared Caching, the default cache is automatically created when you create a new caching service namespace. For more information, see .f25afe6e-134e-4662-b602-72badef5d698

See Also

DataCacheFactory Class
Microsoft.ApplicationServer.Caching Namespace

Return to top