Share via


DataCacheNotificationDescriptor.CacheName Property

The name of the cache triggering the cache notification.

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

Usage

'Usage
Dim instance As DataCacheNotificationDescriptor
Dim value As String

value = instance.CacheName

Syntax

'Declaration
Public ReadOnly Property CacheName As String
public string CacheName { get; }
public:
property String^ CacheName {
    String^ get ();
}
/** @property */
public String get_CacheName ()
public function get CacheName () : String

Property Value

A string value represents the name of the cache triggering the cache notification.

Remarks

The DataCacheNotificationDescriptor object can be used to identify the cache notification. 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).

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.

Platforms

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

See Also

Reference

DataCacheNotificationDescriptor Class
DataCacheNotificationDescriptor Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26