DataCache Class

The object that is used by cache-enabled applications for storing and retrieving objects from the cache cluster. An instance of this object is referred to as the cache client.

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


Dim instance As DataCache


<DefaultMemberAttribute("Item")> _
Public MustInherit Class DataCache
public abstract class DataCache
public ref class DataCache abstract
/** @attribute DefaultMemberAttribute("Item") */ 
public abstract class DataCache
public abstract class DataCache


There are multiple options for cache clients, which are specified in the application configuration settings. For more information, see Cache Clients and Local Cache and Application Configuration Settings.

Inheritance Hierarchy


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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


DataCache Members
Microsoft.ApplicationServer.Caching Namespace

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