Interface INotifiable
This interface contains methods for registering and unregistering notifications for data types.
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface INotifiable
              Methods
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.  | 
                  
UnRegisterNotification(DataTypeDataNotificationCallback, EventType)
Allows you to unregister collection event notification.
Declaration
void UnRegisterNotification(DataTypeDataNotificationCallback collectionDataNotificationCallback, EventType eventType)
              Parameters
| Type | Name | Description | 
|---|---|---|
| DataTypeDataNotificationCallback | collectionDataNotificationCallback | The DataTypeDataNotificationCallback that is invoked when an item is added, updated or removed from the cache.  | 
                  
| EventType | eventType | The type of event that is to be unregistered.  |