NET Caching Library Help
CreateCacheEntryChangeMonitor Method (BaseCacheProvider)




KellermanSoftware.NetCachingLibrary.CacheProviders Namespace > BaseCacheProvider Class : CreateCacheEntryChangeMonitor Method
The unique identifiers for cache entries to monitor.
Optional. A named region in the cache where the cache keys in the keys parameter exist. The default value for the optional parameter is Default.
Create a System.Runtime.Caching.CacheEntryChangeMonitor object that can trigger events in response to changes to specified cache entries.
Syntax
'Declaration
 
Public MustOverride Function CreateCacheEntryChangeMonitor( _
   ByVal keys As System.Collections.Generic.IEnumerable(Of String), _
   Optional ByVal regionName As System.String _
) As System.Runtime.Caching.CacheEntryChangeMonitor
'Usage
 
Dim instance As BaseCacheProvider
Dim keys As System.Collections.Generic.IEnumerable(Of String)
Dim regionName As System.String
Dim value As System.Runtime.Caching.CacheEntryChangeMonitor
 
value = instance.CreateCacheEntryChangeMonitor(keys, regionName)
public abstract System.Runtime.Caching.CacheEntryChangeMonitor CreateCacheEntryChangeMonitor( 
   System.Collections.Generic.IEnumerable<string> keys,
   System.string regionName
)
public: abstract System.Runtime.Caching.CacheEntryChangeMonitor* CreateCacheEntryChangeMonitor( 
   System.Collections.Generic.IEnumerable<string*>* keys,
   System.string* regionName
) 
public:
abstract System.Runtime.Caching.CacheEntryChangeMonitor^ CreateCacheEntryChangeMonitor( 
   System.Collections.Generic.IEnumerable<String^>^ keys,
   System.String^ regionName
) 

Parameters

keys
The unique identifiers for cache entries to monitor.
regionName
Optional. A named region in the cache where the cache keys in the keys parameter exist. The default value for the optional parameter is Default.

Return Value

A change monitor that monitors cache entries in the cache.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseCacheProvider Class
BaseCacheProvider Members