Jaa


AutoSaveStateMiddleware.Add(BotState) Method

Definition

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.

Applies to