DataCacheAddCacheLevelCallback Method Windows Server AppFabric Caching Compatibility Library
Adds a cache notification callback for cache operations occurring on all regions and items.

Namespace: Soss.Compat.WSAF
Assembly: soss_wsaf_compat (in soss_wsaf_compat.dll) Version: 1.1.0.100 (1.1.0.100)
Syntax

public DataCacheNotificationDescriptor AddCacheLevelCallback(
	DataCacheOperations filter,
	DataCacheNotificationCallback clientCallback
)

Parameters

filter
Type: Soss.Compat.WSAFDataCacheOperations
The type of cache operation(s) that will trigger cache notifications.
clientCallback
Type: Soss.Compat.WSAFDataCacheNotificationCallback
The method to be invoked when the specified operations occur.

Return Value

Type: DataCacheNotificationDescriptor
A DataCacheNotificationDescriptor object used to identify the cache notification callback.
See Also

Reference