Taal

TextInput.OnRecognizeInputAsync(DialogContext, CancellationToken) Methode

Definitie

Wordt opgeroepen wanneer input is ontvangen.

protected override System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.Adaptive.Input.InputState> OnRecognizeInputAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, System.Threading.CancellationToken cancellationToken = default);
override this.OnRecognizeInputAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.Adaptive.Input.InputState>
Protected Overrides Function OnRecognizeInputAsync (dc As DialogContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of InputState)

Parameters

dc
DialogContext

Het is DialogContext voor de huidige wending van het gesprek.

cancellationToken
CancellationToken

Optioneel, de CancellationToken die door andere objecten of threads gebruikt kunnen worden om een melding van annulering te ontvangen.

Retouren

InputState die aangeeft of input als geldig werd herkend of niet.

Van toepassing op