ISessionCreateCacheSession Method
This method creates a cache session instance to be used in subsequent cache request operations on the
session. Multiple ICacheSesssion instances may be created on an ISession instance.
Namespace: SolaceSystems.Solclient.MessagingAssembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
ICacheSession CreateCacheSession(
CacheSessionProperties cacheSessionProperties
)
- cacheSessionProperties CacheSessionProperties
- Properties for the new cache session.
ICacheSession
Throws OperationErrorException if it fails, otherwise it returns
a new ICacheSession instance.
OperationErrorException |
Thrown when the operation fails.
|
ObjectDisposedException |
Thrown when the session is already disposed (terminal state).
|
ArgumentNullException |
Thrown when cacheSessionProperties is null.
|
ArgumentOutOfRangeException |
Thrown when cacheSessionProperties has invalid property values.
|