DataCacheAddRegionLevelCallback Method Windows Server AppFabric Caching Compatibility Library
Adds a cache notification callback for cache operations occurring on a specific region.

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 AddRegionLevelCallback(
	string region,
	DataCacheOperations filter,
	DataCacheNotificationCallback clientCallback
)

Parameters

region
Type: SystemString
The name of the region associated with the specified notifications.
filter
Type: Soss.Compat.WSAFDataCacheOperations
The type of cache operation(s) that will trigger cache notifications.
clientCallback
Type: Soss.Compat.WSAFDataCacheNotificationCallback
The name of the method needs to be invoked when these notifications occur.

Return Value

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

Reference