DataCacheNotificationDescriptor Class

Identifies a cache notification callback. This identifier is required to remove the corresponding cache notification callback.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

'Usage
Dim instance As DataCacheNotificationDescriptor

public class DataCacheNotificationDescriptor
public class DataCacheNotificationDescriptor
public class DataCacheNotificationDescriptor

The DataCacheNotificationDescriptor object can be used to identify the cache notification. This object is a required parameter of the RemoveCallback 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. For more information about cache notifications, see Cache Notifications (Velocity).


System.Object
  Microsoft.ApplicationServer.Caching.DataCacheNotificationDescriptor

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2
  https://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.aspx 2011-08-26
Show: