Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)
To use this class, assign an instance of it to the NotificationProperties property of the DataCacheFactoryConfiguration class. In order to use notifications, the target cache must have notifications enabled. This can be done in Windows PowerShell by using the
Set-CacheConfig commands. Set the
NotificationsEnabled parameter to
Notifications can be used for callbacks, such as a notification that an item has been removed from the cache. Notifications are also used to update locally cached items when the local cache invalidation policy is set to NotificationBased.
Note that the properties of this class are read-only. Because of this, you must use the overloaded constructor to assign values to the properties.