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
Parameters
- key
- Type: Soss.ClientStateServerKey
StateServerKey instance. The application ID in this structure is used to create the named cache.
Return Value
Type: NamedCacheAn instance of NamedCache.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Thrown 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