Delen via


ComponentDialog.RepromptDialogAsync Methode

Definitie

Wordt aangeroepen wanneer het dialoogvenster de gebruiker opnieuw om invoer moet vragen.

public override System.Threading.Tasks.Task RepromptDialogAsync(Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Builder.Dialogs.DialogInstance instance, System.Threading.CancellationToken cancellationToken = default);
override this.RepromptDialogAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.Dialogs.DialogInstance * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function RepromptDialogAsync (turnContext As ITurnContext, instance As DialogInstance, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

turnContext
ITurnContext

Het contextobject voor deze beurt.

instance
DialogInstance

Statusinformatie voor dit dialoogvenster.

cancellationToken
CancellationToken

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

Retouren

Een Task die de asynchrone bewerking vertegenwoordigt.

Van toepassing op

Zie ook