Share via


AutoSaveStateMiddleware Constructors

Definition

Overloads

AutoSaveStateMiddleware(BotState[])

Initializes a new instance of the AutoSaveStateMiddleware class.

AutoSaveStateMiddleware(BotStateSet)

Initializes a new instance of the AutoSaveStateMiddleware class with a list of state management objects managed by this object.

AutoSaveStateMiddleware(BotState[])

Initializes a new instance of the AutoSaveStateMiddleware class.

public AutoSaveStateMiddleware (params Microsoft.Bot.Builder.BotState[] botStates);
new Microsoft.Bot.Builder.AutoSaveStateMiddleware : Microsoft.Bot.Builder.BotState[] -> Microsoft.Bot.Builder.AutoSaveStateMiddleware
Public Sub New (ParamArray botStates As BotState())

Parameters

botStates
BotState[]

initial list of BotState objects to manage.

Applies to

AutoSaveStateMiddleware(BotStateSet)

Initializes a new instance of the AutoSaveStateMiddleware class with a list of state management objects managed by this object.

public AutoSaveStateMiddleware (Microsoft.Bot.Builder.BotStateSet botStateSet);
new Microsoft.Bot.Builder.AutoSaveStateMiddleware : Microsoft.Bot.Builder.BotStateSet -> Microsoft.Bot.Builder.AutoSaveStateMiddleware
Public Sub New (botStateSet As BotStateSet)

Parameters

botStateSet
BotStateSet

The state management objects managed by this object.

Applies to