Constructor DataTypeEventArg
DataTypeEventArg(String, EventType, DistributedDataType, Object, Object)
Constructor that initializes all the properties of the class DataTypeEventArg.
Declaration
public DataTypeEventArg(string cacheName, EventType eventType, DistributedDataType dataType, object dataTypeItem, object oldDataTypeItem)
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheName | Name of cache, the collection event is to be registered against. |
EventType | eventType | Unique, user specified key attribute for the item added to NCache on client registration. Event key is specific to the application. Each client of the application will use the same event key while calling NCache's extension method. |
DistributedDataType | dataType | The type of collection, pertaining to DistributedDataType, to be returned on the fire of a collection event. |
System.Object | dataTypeItem | Value of collection item if the respective filter is set. |
System.Object | oldDataTypeItem | Old value of collection item if the respective filter is set. |