NamedCache Constructor

ScaleOut Software NamedCache API
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.1.0.0
Syntax

protected internal NamedCache(
	string cacheName
)

Parameters

cacheName
Type: SystemString
The name of the cache
Exceptions

ExceptionCondition
ArgumentNullExceptionif cacheName is null
InvalidOperationException if a NamedCache instance is already registered with the CacheFactory for the given name.
Remarks

NamedCache instances should normally be created via the CacheFactory methods. This signature is available for implementing NamedCache subclasses.

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

Reference