ResumptionContext.SaveDataAsync(ResumptionData, CancellationToken) 方法

定义

data 保存在恢复上下文的数据包中。

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

参数

token
CancellationToken

取消标记。

返回

适用于