InterceptionMiddleware.OutboundAsync 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.
Overriding methods implement processing of outbound activities.
protected abstract System.Threading.Tasks.Task OutboundAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Activity> clonedActivities, System.Threading.CancellationToken cancellationToken);
abstract member OutboundAsync : Microsoft.Bot.Builder.ITurnContext * seq<Microsoft.Bot.Schema.Activity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected MustOverride Function OutboundAsync (turnContext As ITurnContext, clonedActivities As IEnumerable(Of Activity), cancellationToken As CancellationToken) As Task
Parameters
- turnContext
- ITurnContext
The turn context.
- clonedActivities
- IEnumerable<Activity>
A collection of 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.