共用方式為


WebexAdapter.DeleteActivityAsync 方法

定義

用來刪除先前訊息的標準 BotBuilder 配接器方法。

public override System.Threading.Tasks.Task DeleteActivityAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Schema.ConversationReference reference, System.Threading.CancellationToken cancellationToken);
override this.DeleteActivityAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function DeleteActivityAsync (turnContext As ITurnContext, reference As ConversationReference, cancellationToken As CancellationToken) As Task

參數

turnContext
ITurnContext

ITurnContext 表示目前的傳入訊息和環境。

cancellationToken
CancellationToken

工作的解除標記。

傳回

代表非同步作業的 Task

適用於