Delen via


DateTimeInput.OnRecognizeInputAsync(DialogContext, CancellationToken) Methode

Definitie

Aangeroepen wanneer invoer 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

De DialogContext voor de huidige wending van het gesprek.

cancellationToken
CancellationToken

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

Retouren

InputState die aangeeft of invoer als geldig is herkend of niet.

Van toepassing op