Class CacheEventArg
This object is received when an event is raised and delegate CacheDataNotificationCallback is executed. CacheEventArg contains the necessary information to identify the event and perform the actions necessary, accordingly. It inherits EventArg which is also a parent of CQEventArg. This class is consistent for both selective and general events.
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class CacheEventArg : EventArg
Properties
Name | Description |
---|---|
CacheItemRemovedReason | It specifies the reason for removal of cache item. Only applicable for ItemRemoved. Otherwise, the default value is DependencyChanged. |
Descriptor | It specifies the description of general events. Only applicable for general events, otherwise it will be null. |