Language

IsolationKeyScopedAgentSessionStore Class

Definition

A delegating AgentSessionStore that scopes session keys by an isolation key provided by a SessionIsolationKeyProvider, ensuring that sessions are isolated per logical partition (e.g., user, tenant, or composite key).

public class IsolationKeyScopedAgentSessionStore : Microsoft.Agents.AI.Hosting.DelegatingAgentSessionStore
type IsolationKeyScopedAgentSessionStore = class
    inherit DelegatingAgentSessionStore
Public Class IsolationKeyScopedAgentSessionStore
Inherits DelegatingAgentSessionStore
Inheritance
IsolationKeyScopedAgentSessionStore

Constructors

Name Description
IsolationKeyScopedAgentSessionStore(AgentSessionStore, SessionIsolationKeyProvider, IsolationKeyScopedAgentSessionStoreOptions)

Initializes a new instance of the IsolationKeyScopedAgentSessionStore class.

Properties

Name Description
InnerStore

Gets the inner session store instance that receives delegated operations.

(Inherited from DelegatingAgentSessionStore)

Methods

Name Description
GetService(Type, Object)

Asks the AgentSessionStore for an object of the specified type serviceType.

(Inherited from DelegatingAgentSessionStore)
GetService<TService>(Object)

Asks the AgentSessionStore for an object of type TService.

(Inherited from AgentSessionStore)
GetSessionAsync(AIAgent, String, CancellationToken)

Retrieves a serialized agent session from persistent storage.

SaveSessionAsync(AIAgent, String, AgentSession, CancellationToken)

Saves a serialized agent session to persistent storage.

Applies to