Class EventArg
Parent of CQEventArg and CacheEventArg Contains the necessary information related to the event being raised
Inheritance
System.Object
EventArg
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
public abstract class EventArg
Properties
CacheName
Name of the cache the event is raised against
Declaration
public string CacheName { get; }
Property Value
Type | Description |
---|---|
System.String |
EventType
Event Type the event is raised against
Declaration
public EventType EventType { get; }
Property Value
Type | Description |
---|---|
Alachisoft.NCache.Runtime.Events.EventType |
Item
Contains the item if the event was registered against Alachisoft.NCache.Runtime.Events.EventDataFilter.Metadata or Alachisoft.NCache.Runtime.Events.EventDataFilter.DataWithMetadata
Declaration
public EventCacheItem Item { get; }
Property Value
Type | Description |
---|---|
EventCacheItem |
OldItem
Only applicable for Alachisoft.NCache.Runtime.Events.EventType.ItemUpdated Otherwise it will be null
Declaration
public EventCacheItem OldItem { get; }
Property Value
Type | Description |
---|---|
EventCacheItem |