DataCacheNotificationDescriptor Class
Identifies a cache notification callback. This identifier is required to remove the corresponding cache notification callback. Applies only to the server versions of AppFabric.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
The DataCacheNotificationDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CacheName | The name of the cache triggering the cache notification. |
![]() | DelegateId | Identifier for the DataCacheNotificationDescriptor object. Used to distinguish between DataCacheNotificationDescriptor objects. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Creates a copy of the DataCacheNotificationDescriptor object. (Overrides Object..::..ToString()()()().) |
The DataCacheNotificationDescriptor object can be used to identify the cache notification. This object is a required parameter of the RemoveCallback(DataCacheNotificationDescriptor) method, which is used to remove a cache notification callback. The DataCacheNotificationDescriptor object is returned the when you add a cache notification. Declare your DataCacheNotificationDescriptor object at a scope that is accessible to the code in the application that adds notification callbacks and the code in the application that removes notification callbacks.
The delegate method that is invoked by a cache notification receives the corresponding DataCacheNotificationDescriptor object with the nd parameter.


