ภาษา

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

Name Description
ResumptionContext(Func<IBotDataBag>)

Fields

Name Description
RESUMPTION_CONTEXT_KEY

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

Methods

Name Description
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