• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try NCache Live
Show / Hide Table of Contents

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 on Item 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);
Back to top Copyright © 2017 Alachisoft