The CacheItem type exposes the following members.

Properties

  NameDescription
Public propertyAbsoluteExpiration
The time at which the added object expires and is removed from the cache.
Public propertyAsyncItemAddCallback
A delegate that, if provided, is called when an Asynchronous request for Add Operation completes. You can use this to obtain the results of an 'AddAsync' operation.
Public propertyAsyncItemUpdateCallback
A delegate that, if provided, is called when an Asynchronous request for Update Operation completes. You can use this to obtain the results of an 'InsertAsync' operation.
Public propertyCreationTime
Get the cache item creation time
Public propertyDependency
The file or cache key dependencies for the item. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this property contains a null reference (Nothing in Visual Basic).
Public propertyGroup
The name of the group to associate with the cache item. All cache items with the same group name are logically grouped together.
Public propertyIsResyncExpiredItems
Gets/Sets a value indicating whether the object when expired will cause a refetch of the object from the master datasource. (Resync Expired Items)
Public propertyItemRemoveCallback Obsolete.
A delegate that, if provided, is called when an object is removed from the cache. You can use this to notify applications when their objects are deleted from the cache.
Public propertyItemUpdateCallback Obsolete.
A delegate that, if provided, is called when an object is updated in the cache. You can use this to notify applications when their objects are updated in the cache.
Public propertyLastModifiedTime
Get the cache item last modified time
Public propertyNamedTags
Get or set the named tags
Public propertyPriority
The relative cost of the object, as expressed by the enumeration. The cache uses this value when it evicts objects; objects with a lower cost are removed from the cache before objects with a higher cost.
Public propertyResyncProviderName
Gets/Sets Provider name for re-synchronization of cache
Public propertySlidingExpiration
The interval between the time the added object was last accessed and when that object expires. If this value is the equivalent of 20 minutes, the object expires and is removed from the cache 20 minutes after it is last accessed.
Public propertySubGroup
The name of the sub-group within a group. This hierarchical grouping gives more control over the cache items.
Public propertySyncDependency
CacheSyncDependency for this item.
Public propertyTags
Get or set the tags
Public propertyValue
The actual object provided by the client application.
Public propertyVersion
Get or Set the cache item version

See Also