Class DataTypeEventArg
This object is received when a collection event is raised and a delegate DataTypeDataNotificationCallback is executed. This class contains necessary information to identify the event and perform necessary actions accordingly.
Inheritance
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class DataTypeEventArg
Constructors
Name | Description |
---|---|
DataTypeEventArg(String, EventType, DistributedDataType, Object, Object) | Constructor that initializes all the properties of the class DataTypeEventArg. |
Properties
Name | Description |
---|---|
CacheName | Name of the cache the collection event is registered against. |
CollectionItem | Contains the current value if collection event was registered against Data. |
CollectionType | The type of collection, pertaining to DistributedDataType, returned on the fire of a collection event. |
EventType | This property specifies the type of event to be registered by the user. Event types are specified at the time of notification registration. |
OldCollectionItem | Contains the previous value if the collection event was registered against Data. |