ITurnState Interface
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.
TurnState represents the state for an Agent. State is composed of 1+ state scopes.
public interface ITurnState
type ITurnState = interface
Public Interface ITurnState
- Derived
Properties
| Conversation | |
| Private | |
| Temp | |
| User |
Methods
| ClearState(String) |
Clears the state. |
| DeleteValue(String) |
Delete a property. |
| GetScope(String) | |
| GetScope<T>() | |
| GetValue<T>(String, Func<T>) |
Get a property value. |
| HasValue(String) |
Checks for the existence of a property. |
| LoadStateAsync(ITurnContext, Boolean, CancellationToken) |
Populates all states from the storage layer. |
| SaveStateAsync(ITurnContext, Boolean, CancellationToken) |
Writes all states to the storage layer. |
| SetValue(String, Object) |
Set a property value. |