Share via


BotStateSet Class

Definition

Manages a collection of botState and provides ability to load and save in parallel.

public class BotStateSet
type BotStateSet = class
Public Class BotStateSet
Inheritance
BotStateSet

Constructors

BotStateSet(BotState[])

Initializes a new instance of the BotStateSet class.

Properties

BotStates

Gets or sets the BotStates list for the BotStateSet.

Methods

Add(BotState)

Adds a bot state object to the set.

LoadAllAsync(ITurnContext, Boolean, CancellationToken)

Load all BotState records in parallel.

SaveAllChangesAsync(ITurnContext, Boolean, CancellationToken)

Save All BotState changes in parallel.

Applies to