The CacheEventArg type exposes the following members.

Properties

  NameDescription
Public propertyCacheItemRemovedReason
Only applicable for [!:EventType.ItemRemove] Otherwise default value is DependencyChanged
Public propertyCacheName
Name of the cache the event is raised against
(Inherited from EventArg.)
Public propertyDescriptor
Only applicable for general events otherwise it will be null
Public propertyEventType
Event Type the event is raised against
(Inherited from EventArg.)
Public propertyItem
Contains the item if the event was registered against Metadata or DataWithMetadata
(Inherited from EventArg.)
Public propertyOldItem
Only applicable for [!:EventType.ItemUpdated] Otherwise it will be null
(Inherited from EventArg.)

See Also