DataCache.AddCacheLevelBulkCallback Method
Adds a bulk cache notification callback for cache operations occurring on all regions and items.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)
Usage
'Usage
Dim instance As DataCache
Dim clientCallback As DataCacheBulkNotificationCallback
Dim returnValue As DataCacheNotificationDescriptor
returnValue = instance.AddCacheLevelBulkCallback(clientCallback)
Syntax
'Declaration
Public MustOverride Function AddCacheLevelBulkCallback ( _
clientCallback As DataCacheBulkNotificationCallback _
) As DataCacheNotificationDescriptor
public abstract DataCacheNotificationDescriptor AddCacheLevelBulkCallback (
DataCacheBulkNotificationCallback clientCallback
)
public:
virtual DataCacheNotificationDescriptor^ AddCacheLevelBulkCallback (
DataCacheBulkNotificationCallback^ clientCallback
) abstract
public abstract DataCacheNotificationDescriptor AddCacheLevelBulkCallback (
DataCacheBulkNotificationCallback clientCallback
)
public abstract function AddCacheLevelBulkCallback (
clientCallback : DataCacheBulkNotificationCallback
) : DataCacheNotificationDescriptor
Parameters
- clientCallback
The name of the method you want to invoke when these notifications occur.
Return Value
A DataCacheNotificationDescriptor object used to identify the cache bulk notification callback.
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
DataCache Class
DataCache Members
Microsoft.ApplicationServer.Caching Namespace
ff425062(v=azure.10).md 2011-08-26