Поділитися через


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)

Usage

'Usage
Dim instance As DataCache

Syntax

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

Remarks

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

System.Object
  Microsoft.ApplicationServer.Caching.DataCache

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.

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

DataCache Members
Microsoft.ApplicationServer.Caching Namespace

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