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

Class CacheEventDescriptor

Instance of this class holds the link to the registered delegate Keep it safe and use it to unregister the registered delegate when required. The bool IsRegistered returns false when the descriptor has been consumed to unregister the delegate. Then this instance can then be disposed of. Upon re-registering for the interested event, a new descriptor will be created.

Inheritance
System.Object
CacheEventDescriptor
Assembly: Alachisoft.NCache.Client.dll
Syntax
public sealed class CacheEventDescriptor

Properties

Name Description
CacheDataNotificationCallback

Delegate that triggers when any data change in cache.

CacheName

Name of the cache registered against

DataFilter

Gets data filter.

IsRegistered

Returns true if the linked event delegate is registered, returns false when the descriptor has been consumed This property is ThreadSafe

RegisteredAgainst

Event Types registered against. Can be ORed to check registration types

Back to top Copyright © 2017 Alachisoft