The CacheItem type exposes the following members.
The time at which the added object expires and is removed from the cache.
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.
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.
Get the cache item creation time
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).
The name of the group to associate with the cache item. All cache items with the same group name are logically grouped together.
Gets/Sets a value indicating whether the object when expired will cause a refetch of the object from the master datasource. (Resync Expired Items)
|ItemRemoveCallback|| 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.
|ItemUpdateCallback|| 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.
Get the cache item last modified time
Get or set the named tags
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.
Gets/Sets Provider name for re-synchronization of cache
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.
The name of the sub-group within a group. This hierarchical grouping gives more control over the cache items.
CacheSyncDependency for this item.
Get or set the tags
The actual object provided by the client application.
Get or Set the cache item version