Share via


NoopAgentSessionStore Class

Definition

This store implementation does not have any store under the hood and therefore does not store sessions. GetSessionAsync(AIAgent, String, CancellationToken) always returns a new session.

public sealed class NoopAgentSessionStore : Microsoft.Agents.AI.Hosting.AgentSessionStore
type NoopAgentSessionStore = class
    inherit AgentSessionStore
Public NotInheritable Class NoopAgentSessionStore
Inherits AgentSessionStore
Inheritance
NoopAgentSessionStore

Constructors

Name Description
NoopAgentSessionStore()

Methods

Name Description
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