Taal

InputDialog.ResumeDialogAsync Methode

Definitie

Wordt aangeroepen wanneer een kinddialoog zijn beurt voltooit, waardoor de controle naar dit dialoogvenster wordt teruggegeven.

public override System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> ResumeDialogAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, Microsoft.Bot.Builder.Dialogs.DialogReason reason, object result = default, System.Threading.CancellationToken cancellationToken = default);
override this.ResumeDialogAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.DialogReason * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Public Overrides Function ResumeDialogAsync (dc As DialogContext, reason As DialogReason, Optional result As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)

Parameters

dc
DialogContext

Het is DialogContext voor de huidige wending van het gesprek.

reason
DialogReason

Reden waarom het dialoogvenster is hervat.

result
Object

Optioneel, waarde geretourneerd uit het dialoogvenster dat is aangeroepen. Het type waarde dat wordt teruggegeven is afhankelijk van het kinddialoog.

cancellationToken
CancellationToken

Optioneel, een CancellationToken die door andere objecten of threads gebruikt kan worden om een annuleringsbericht te ontvangen.

Retouren

Een Task weergave van de asynchrone bewerking.

Van toepassing op