Share via


ResumptionContext.SaveDataAsync(ResumptionData, CancellationToken) Method

Definition

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

token
CancellationToken

The cancellation token.

Returns

Applies to