The CacheItem type exposes the following members.
Creates a shallow copy of CacheItem
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.)
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
You can use this to notify applications when their objects are updated or removed in the cache. Callbacks can be registered against EventType for the key the items is inserted to. To register different for different EventType, you can call this function mutiple times with a different EventType. Callback are overriden for the same EventType if called again. ItemAdded is not supported yet.