Taal

InspectionMiddleware.ProcessCommandAsync Methode

Definitie

Identificeert open- en hechtcommando's en roept de juiste methode aan.

public System.Threading.Tasks.Task<bool> ProcessCommandAsync(Microsoft.Bot.Builder.ITurnContext turnContext, System.Threading.CancellationToken cancellationToken = default);
member this.ProcessCommandAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function ProcessCommandAsync (turnContext As ITurnContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

turnContext
ITurnContext

De context van de beurt.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om kennisgeving van annulering te ontvangen.

Retouren

waar als het commando open of gehecht is, anders onwaar.

Van toepassing op