共用方式為


BotFrameworkHttpAdapterBase.ProcessOutgoingActivityAsync 方法

定義

傳送傳出活動。

protected override System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse> ProcessOutgoingActivityAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Schema.Activity activity, System.Threading.CancellationToken cancellationToken);
override this.ProcessOutgoingActivityAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.Activity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse>
Protected Overrides Function ProcessOutgoingActivityAsync (turnContext As ITurnContext, activity As Activity, cancellationToken As CancellationToken) As Task(Of ResourceResponse)

參數

turnContext
ITurnContext

回合的內容物件。

activity
Activity

要處理的活動。

cancellationToken
CancellationToken

取消語彙基元。

傳回

處理活動的結果。

適用於