IsolationKeyScopedAgentSessionStore Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the IsolationKeyScopedAgentSessionStore class.
public IsolationKeyScopedAgentSessionStore(Microsoft.Agents.AI.Hosting.AgentSessionStore innerStore, Microsoft.Agents.AI.Hosting.SessionIsolationKeyProvider? keyProvider, Microsoft.Agents.AI.Hosting.IsolationKeyScopedAgentSessionStoreOptions? options = default);
new Microsoft.Agents.AI.Hosting.IsolationKeyScopedAgentSessionStore : Microsoft.Agents.AI.Hosting.AgentSessionStore * Microsoft.Agents.AI.Hosting.SessionIsolationKeyProvider * Microsoft.Agents.AI.Hosting.IsolationKeyScopedAgentSessionStoreOptions -> Microsoft.Agents.AI.Hosting.IsolationKeyScopedAgentSessionStore
Public Sub New (innerStore As AgentSessionStore, keyProvider As SessionIsolationKeyProvider, Optional options As IsolationKeyScopedAgentSessionStoreOptions = Nothing)
Parameters
- innerStore
- AgentSessionStore
The underlying AgentSessionStore to delegate to.
- keyProvider
- SessionIsolationKeyProvider
The SessionIsolationKeyProvider used to retrieve the isolation key for the current context.
The options for configuring the session store. If null, defaults are used.
Exceptions
innerStore is null.