AutoSaveStateMiddleware Constructors
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.
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
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.