IsolationKeyScopedAgentSessionStore Class
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.
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
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 |
| GetService<TService>(Object) |
Asks the AgentSessionStore for an object of type |
| 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. |