Dialog.RepromptDialogAsync(ITurnContext, DialogInstance, CancellationToken) Methode
Definition
Wird aufgerufen, wenn das Dialogfeld den Benutzer erneut zur Eingabe auffordern soll.Called when the dialog should re-prompt the user for input.
public virtual System.Threading.Tasks.Task RepromptDialogAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Builder.Dialogs.DialogInstance instance, System.Threading.CancellationToken cancellationToken = default);
abstract member RepromptDialogAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.Dialogs.DialogInstance * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RepromptDialogAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.Dialogs.DialogInstance * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RepromptDialogAsync (turnContext As ITurnContext, instance As DialogInstance, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameter
- turnContext
- ITurnContext
Das Kontext Objekt für diesen Turn.The context object for this turn.
- instance
- DialogInstance
Zustandsinformationen für diesen Dialog.State information for this dialog.
- cancellationToken
- CancellationToken
Ein Abbruchtoken, das von anderen Objekten oder Threads verwendet werden kann, um Nachricht vom Abbruch zu empfangen.A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Gibt zurück
Eine Task, die den asynchronen Vorgang darstelltA Task representing the asynchronous operation.