Share via


ResumptionContext Class

Definition

The resumption context that is responsible for loading/persisting the ResumptionData.

public sealed class ResumptionContext
type ResumptionContext = class
Public NotInheritable Class ResumptionContext
Inheritance
ResumptionContext

Constructors

ResumptionContext(Func<IBotDataBag>)

Fields

RESUMPTION_CONTEXT_KEY

The key for ResumptionData in the resumption context's data bag.

Methods

LoadDataAsync(CancellationToken)

Loads the ResumptionData from the resumption context's data bag.

SaveDataAsync(ResumptionData, CancellationToken)

Saves the data in the resumption context's data bag.

Applies to