Language

IsolationKeyScopedAgentSessionStore Constructor

Definition

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.

options
IsolationKeyScopedAgentSessionStoreOptions

The options for configuring the session store. If null, defaults are used.

Exceptions

innerStore is null.

Applies to