Class CacheEventDescriptor
Instance of this class holds the link to the registered delegate. Use it to unregister the registered delegate when required. The bool IsRegistered returns false when the descriptor has been consumed to unregister the delegate. This instance can then be disposed off. Upon re-registering for the interested event, a new descriptor will be created.
Inheritance
Assembly: Alachisoft.NCache.Client.dll
Syntax
public sealed class CacheEventDescriptor
Properties
Name | Description |
---|---|
CacheDataNotificationCallback | Delegate that triggers when any data changes in the cache. |
CacheName | Name against which the cache is registered. |
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 | The property against which the event types are registered. |