Adds a cache notification callback for cache operations occurring on the object
with specified key that is stored in a given 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, string region )
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 name of the method needs to be invoked when these notifications occur. - region
- Type: SystemString
The name of the region where the object is stored.
Return Value
Type: DataCacheNotificationDescriptorA DataCacheNotificationDescriptor object used to identify the cache notification callback.
See Also