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)
Inheritance Hierarchy
System.Object
Microsoft.ApplicationServer.Caching.DataCacheNotificationDescriptor
Syntax
public class DataCacheNotificationDescriptor
public ref class DataCacheNotificationDescriptor
type DataCacheNotificationDescriptor = class end
Public Class DataCacheNotificationDescriptor
Properties
Name | Description | |
---|---|---|
CacheName | The name of the cache triggering the cache notification. |
|
DelegateId | Identifier for the DataCacheNotificationDescriptor object. Used to distinguish between DataCacheNotificationDescriptor objects. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (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().) |
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ApplicationServer.Caching Namespace
Return to top