BotFrameworkHttpAdapterBase.ProcessOutgoingActivityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.