Delen via


Dialog.ContinueDialogAsync(DialogContext, CancellationToken) Methode

Definitie

Wordt aangeroepen wanneer het dialoogvenster wordt voortgezet, waarbij het het actieve dialoogvenster 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

De DialogContext voor de huidige wending van het gesprek.

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.

Opmerkingen

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

Als deze methode *niet* wordt overschreven, wordt het dialoogvenster automatisch beƫindigd wanneer de gebruiker antwoordt.

Van toepassing op

Zie ook