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)

Inheritance Hierarchy

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheTag

Syntax

[DataContractAttribute(Name = "DataCacheTag", Namespace = "https://schemas.microsoft.com/velocity/namespace")]
public class DataCacheTag
[DataContractAttribute(Name = "DataCacheTag", Namespace = "https://schemas.microsoft.com/velocity/namespace")]
public ref class DataCacheTag 
[<DataContractAttribute(Name = "DataCacheTag", Namespace = "https://schemas.microsoft.com/velocity/namespace")>]
type DataCacheTag = class end
<DataContractAttribute(Name := "DataCacheTag", Namespace := "https://schemas.microsoft.com/velocity/namespace")>
Public Class DataCacheTag

Constructors

Name Description
System_CAPS_pubmethod DataCacheTag(String)

Initializes a new instance of the DataCacheTag class.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Compares the current DataCacheTag object for equality with the specified DataCacheTag object.(Overrides Object.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

Returns the hash code for the current DataCacheTag object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns the string representation of the current DataCacheTag object.(Overrides Object.ToString().)

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.

Not supported in Windows Azure Shared Caching.

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.

See Also

Microsoft.ApplicationServer.Caching Namespace

Return to top