Jaa


InspectionMiddleware.OutboundAsync Method

Definition

Processes outbound activities.

protected override System.Threading.Tasks.Task OutboundAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Activity> traceActivities, System.Threading.CancellationToken cancellationToken);
override this.OutboundAsync : Microsoft.Bot.Builder.ITurnContext * seq<Microsoft.Bot.Schema.Activity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function OutboundAsync (turnContext As ITurnContext, traceActivities As IEnumerable(Of Activity), cancellationToken As CancellationToken) As Task

Parameters

turnContext
ITurnContext

The turn context.

traceActivities
IEnumerable<Activity>

A collection of trace activities.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

A Task representing the asynchronous operation.

Applies to