DataCacheTag Class

Represents an optional string-based identifier that you can associate with a cached object.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Usage

'Usage
Dim instance As DataCacheTag

Syntax

'Declaration
<DataContractAttribute(Name:="DataCacheTag", Namespace:="https://schemas.microsoft.com/velocity/namespace")> _
Public Class DataCacheTag
[DataContractAttribute(Name="DataCacheTag", Namespace="https://schemas.microsoft.com/velocity/namespace")] 
public class DataCacheTag
[DataContractAttribute(Name=L"DataCacheTag", Namespace=L"https://schemas.microsoft.com/velocity/namespace")] 
public ref class DataCacheTag
/** @attribute DataContractAttribute(Name="DataCacheTag", Namespace="https://schemas.microsoft.com/velocity/namespace") */ 
public class DataCacheTag
DataContractAttribute(Name="DataCacheTag", Namespace="https://schemas.microsoft.com/velocity/namespace") 
public class DataCacheTag

Remarks

You can associate one or more tags to each cache object. Tag-based object retrieval is only available for those objects stored in regions. For more information about methods for using tags, see Tag-Based Methods (Velocity).

Inheritance Hierarchy

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheTag

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

DataCacheTag Members
Microsoft.ApplicationServer.Caching Namespace

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