IStatePropertyAccessor<T>.DeleteAsync 方法

定义

从源中删除 属性。

public System.Threading.Tasks.Task DeleteAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteAsync (turnContext As ITurnContext, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

turnContext
ITurnContext

轮次上下文。

cancellationToken
CancellationToken

取消标记。

返回

表示异步操作的 Task

适用于