Creates a named cache with the given name and registers the cache with the CacheFactory.
Namespace: Soss.Client
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
Parameters
- cacheName
- Type: SystemString
The name of the cache
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | if cacheName is null |
InvalidOperationException | if a NamedCache instance is already registered with the CacheFactory for the given name. |
Remarks
If a NamedCache has already been created for the application namespace name cacheName then registration with the CacheFactory will fail and this constructor will throw an InvalidOperationException.
See Also