SALES: 1-800-867-1380

DataCacheTag Class

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

System..::..Object
  Microsoft.ApplicationServer.Caching..::..DataCacheTag

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

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

The DataCacheTag type exposes the following members.

  NameDescription
Public methodDataCacheTagInitializes a new instance of the DataCacheTag class.
Top

  NameDescription
Public methodEqualsCompares the current DataCacheTag object for equality with the specified DataCacheTag object. (Overrides Object..::..Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for the current DataCacheTag object. (Overrides Object..::..GetHashCode()()()().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the string representation of the current DataCacheTag object. (Overrides Object..::..ToString()()()().)
Top

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft