Taal

Dialog.ContinueDialogAsync(DialogContext, CancellationToken) Methode

Definitie

Wordt aangeroepen wanneer de dialoog wordt voortgezet, waarbij het de actieve dialoog is en de gebruiker reageert met een nieuwe activiteit.

public virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> ContinueDialogAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, System.Threading.CancellationToken cancellationToken = default);
abstract member ContinueDialogAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
override this.ContinueDialogAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Public Overridable Function ContinueDialogAsync (dc As DialogContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)

Parameters

dc
DialogContext

Het is DialogContext voor de huidige wending van het gesprek.

cancellationToken
CancellationToken

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

Retouren

Een Task weergave van de asynchrone bewerking.

Opmerkingen

Als de taak is geslaagd, geeft het resultaat aan of het dialoogvenster nog steeds actief is nadat de draai is verwerkt door het dialoogvenster. Het resultaat kan ook een retourwaarde bevatten.

Als deze methode *niet* wordt overruled, eindigt het dialoogvenster automatisch wanneer de gebruiker antwoordt.

Van toepassing op

Zie ook