Method UnRegisterNotification
UnRegisterNotification(QueryDataNotificationCallback, EventType)
This method Unregisters a custom callback that is fired on change in dataset of a Continuous Query.
Declaration
public void UnRegisterNotification(QueryDataNotificationCallback callback, EventType eventType)
Parameters
Type | Name | Description |
---|---|---|
QueryDataNotificationCallback | callback | A delegate to register your custom method with. |
EventType | eventType | Describes whether the event is to be raised when an item is added, updated, or removed. |
Examples
Lets consider we created an ItemCallback.
ItemCallback(string key, CacheEventArg e)
{
...
}
Unregister your notification callback.
cQ.RegisterNotification(new QueryDataNotificationCallback(ItemCallback),EventType.ItemAdded);