DataCacheTag Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Represents an optional string-based identifier that you can associate with a cached object.
Namespace: Microsoft.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)
Syntax
'Declaration
<SerializableAttribute> _
<DataContractAttribute(Name:="DataCacheTag", Namespace:="https://schemas.microsoft.com/velocity/namespace")> _
Public Class DataCacheTag
'Usage
Dim instance As DataCacheTag
[SerializableAttribute]
[DataContractAttribute(Name="DataCacheTag", Namespace="https://schemas.microsoft.com/velocity/namespace")]
public class DataCacheTag
[SerializableAttribute]
[DataContractAttribute(Name=L"DataCacheTag", Namespace=L"https://schemas.microsoft.com/velocity/namespace")]
public ref class DataCacheTag
/** @attribute SerializableAttribute() */
/** @attribute DataContractAttribute(Name="DataCacheTag", Namespace="https://schemas.microsoft.com/velocity/namespace") */
public class DataCacheTag
SerializableAttribute
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.Data.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.