BotFrameworkHttpAdapterBase.ProcessOutgoingActivityAsync Method

Definition

Sends an outgoing activity.

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)

Parameters

turnContext
ITurnContext

The context object for the turn.

activity
Activity

The activity to be processed.

cancellationToken
CancellationToken

The cancellation token.

Returns

The result of processing the activity.

Applies to