DataCacheItem Class
Used to retrieve all information associated with the cached object in the cluster.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.ApplicationServer.Caching.DataCacheItem
Syntax
[DataContractAttribute(Name = "DataCacheItem", Namespace = "https://schemas.microsoft.com/velocity/namespace")]
public sealed class DataCacheItem
[DataContractAttribute(Name = "DataCacheItem", Namespace = "https://schemas.microsoft.com/velocity/namespace")]
public ref class DataCacheItem sealed
[<Sealed>]
[<DataContractAttribute(Name = "DataCacheItem", Namespace = "https://schemas.microsoft.com/velocity/namespace")>]
type DataCacheItem = class end
<DataContractAttribute(Name := "DataCacheItem", Namespace := "https://schemas.microsoft.com/velocity/namespace")>
Public NotInheritable Class DataCacheItem
Constructors
Name | Description | |
---|---|---|
DataCacheItem() | Initializes a new instance of the DataCacheItem class. |
Properties
Name | Description | |
---|---|---|
CacheName | The name of the cache where the object is stored. |
|
ExtensionTimeout | The amount of time to extend the object lifetime on each access. |
|
Key | The identifier that is used to distinguish the cached object in the cache or region. |
|
RegionName | If applicable, the name of the region where the object is stored. |
|
Size | This API supports the product infrastructure and is not intended to be used directly from your code. The approximate size of the cached item. This field is intended for internal use only. |
|
Tags | A generic list of tags associated with the cached object. |
|
Timeout | Specifies the length of time for which the object will remain in the cache. |
|
Value | The object stored in cache. |
|
Version | The version of the cached object. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a string representation of the DataCacheItem object.(Overrides Object.ToString().) |
Remarks
The DataCacheItem class is useful for updating tags associated with the object and concurrency operations.
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