AutoSaveStateMiddleware.Add(BotState) Method
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.
Adds a state management object to the list of states to manage.
public Microsoft.Bot.Builder.AutoSaveStateMiddleware Add (Microsoft.Bot.Builder.BotState botState);
member this.Add : Microsoft.Bot.Builder.BotState -> Microsoft.Bot.Builder.AutoSaveStateMiddleware
Public Function Add (botState As BotState) As AutoSaveStateMiddleware
Parameters
- botState
- BotState
The bot state to add.
Returns
The updated BotStateSet object.