CacheFactoryGetCache Method (StateServerKey)

ScaleOut Software NamedCache API
Creates a named cache using the application id extracted from a StateServerKey instance.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public static NamedCache GetCache(
	StateServerKey key
)

Parameters

key
Type: Soss.ClientStateServerKey
StateServerKey instance. The application ID in this structure is used to create the named cache.

Return Value

Type: NamedCache
An instance of NamedCache.
Exceptions

ExceptionCondition
NotSupportedExceptionThrown if the provided key is for an ASP.NET session object being stored in the SOSS server. Session objects cannot be accessed through the NamedCache API.
See Also

Reference