ActivityCommandResponse.SendResponseAsync 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.
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.