DataCacheAddItemLevelCallback Method (String, DataCacheOperations, DataCacheNotificationCallback)Windows Server AppFabric Caching Compatibility Library
Adds a cache notification callback for cache operations occurring on one specific item that is not stored in a 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 AddItemLevelCallback(
	string key,
	DataCacheOperations filter,
	DataCacheNotificationCallback clientCallback
)

Parameters

key
Type: SystemString
The unique identifier used to access the object in the cache.
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