Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataCacheItem Class
Collapse the table of content
Expand the table of content

DataCacheItem Class

 

Updated: June 30, 2012

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)

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheItem

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodDataCacheItem()

Initializes a new instance of the DataCacheItem class.

NameDescription
System_CAPS_pubpropertyCacheName

The name of the cache where the object is stored.

System_CAPS_pubpropertyExtensionTimeout

The amount of time to extend the object lifetime on each access.

System_CAPS_pubpropertyKey

The identifier that is used to distinguish the cached object in the cache or region.

System_CAPS_pubpropertyRegionName

If applicable, the name of the region where the object is stored.

System_CAPS_pubpropertySize

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.

System_CAPS_pubpropertyTags

A generic list of tags associated with the cached object.

System_CAPS_pubpropertyTimeout

Specifies the length of time for which the object will remain in the cache.

System_CAPS_pubpropertyValue

The object stored in cache.

System_CAPS_pubpropertyVersion

The version of the cached object.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

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().)

The DataCacheItem class is useful for updating tags associated with the object and concurrency operations.

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:
© 2015 Microsoft