Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

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.

System..::..Object
  Microsoft.ApplicationServer.Caching..::..DataCacheNotificationDescriptor

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

public class DataCacheNotificationDescriptor

The DataCacheNotificationDescriptor type exposes the following members.

  NameDescription
Public propertyCacheNameThe name of the cache triggering the cache notification.
Public propertyDelegateIdIdentifier for the DataCacheNotificationDescriptor object. Used to distinguish between DataCacheNotificationDescriptor objects.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringCreates a copy of the DataCacheNotificationDescriptor object. (Overrides Object..::..ToString()()()().)
Top

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.

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

Community-inhoud

Toevoegen
Weergeven:
© 2014 Microsoft