FoundryStateStore 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.
Developer-facing client for one explicit Foundry state store, bound to a single caller-chosen store Name.
public class FoundryStateStore
type FoundryStateStore = class
Public Class FoundryStateStore
- Inheritance
-
FoundryStateStore
Remarks
Session or conversation scoping is expressed by encoding that identity into the store name itself (for example checkpoints/<conversation-id>). Prefer GetOrCreateAsync over constructing directly: it resolves (or creates) the server-side store resource in one call.
Constructors
| Name | Description |
|---|---|
| FoundryStateStore() |
Initializes a new instance of the FoundryStateStore class for mocking. |
Fields
| Name | Description |
|---|---|
| DefaultItemTtlSeconds |
The default per-item TTL (30 days, in seconds) applied at store creation. |
Properties
| Name | Description |
|---|---|
| Name |
Gets the logical store name bound to this client. |