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 | |
---|---|---|
DataCacheTag(String) | Initializes a new instance of the DataCacheTag class. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | Compares the current DataCacheTag object for equality with the specified DataCacheTag object.(Overrides Object.Equals(Object).) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | Returns the hash code for the current DataCacheTag object.(Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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