ResumptionContext.SaveDataAsync(ResumptionData, CancellationToken) Method
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.
Saves the data
in the resumption context's data bag.
public System.Threading.Tasks.Task SaveDataAsync (Microsoft.Bot.Builder.ConnectorEx.ResumptionData data, System.Threading.CancellationToken token);
member this.SaveDataAsync : Microsoft.Bot.Builder.ConnectorEx.ResumptionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SaveDataAsync (data As ResumptionData, token As CancellationToken) As Task
Parameters
- data
- ResumptionData
The ResumptionData.
- token
- CancellationToken
The cancellation token.