DataCacheTag Class

 

Updated: June 30, 2012

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)

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheTag

[DataContractAttribute(Name = "DataCacheTag", Namespace = "http://schemas.microsoft.com/velocity/namespace")]
public class DataCacheTag

NameDescription
System_CAPS_pubmethodDataCacheTag(String)

Initializes a new instance of the DataCacheTag class.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

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

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.

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

Return to top
Show: