Method RegisterNotification
RegisterNotification(DataTypeDataNotificationCallback, EventType, DataTypeEventDataFilter)
Allows you to register collection event notifications like Add, Update, and Remove on the collection.
Declaration
void RegisterNotification(DataTypeDataNotificationCallback collectionDataNotificationCallback, EventType eventType, DataTypeEventDataFilter datafilter)
Parameters
Type | Name | Description |
---|---|---|
DataTypeDataNotificationCallback | collectionDataNotificationCallback | The DataTypeDataNotificationCallback that is invoked when an item is added, updated or removed from the cache. |
EventType | eventType | An enum for specifying events in which you are interested. |
DataTypeEventDataFilter | datafilter | An enum which allows you to specify to which extent you want the data with the event. |