Taal

EndDialog.EndParentDialogAsync Methode

Definitie

Beëindigt de ouderdialog.

protected System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> EndParentDialogAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, object result = default, System.Threading.CancellationToken cancellationToken = default);
member this.EndParentDialogAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Function EndParentDialogAsync (dc As DialogContext, 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.

result
Object

Optioneel, waarde geretourneerd uit het vorige dialoogvenster op de stack. Het type waarde die wordt teruggegeven hangt af van het vorige dialoog.

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.

Van toepassing op