ActivityCommandResponse.SendResponseAsync Method

Definition

Send the command response to the client.

public System.Threading.Tasks.Task SendResponseAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Threading.CancellationToken cancellationToken = default);
abstract member SendResponseAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SendResponseAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SendResponseAsync (turnContext As ITurnContext, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

turnContext
ITurnContext

The turn context.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task that represents the asynchronous operation.

Implements

Applies to