Taal

ActionScope.OnNextActionAsync Methode

Definitie

Wordt opgeroepen wanneer de dialoog doorgaat naar de volgende actie.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> OnNextActionAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, object result = default, System.Threading.CancellationToken cancellationToken = default);
abstract member OnNextActionAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
override this.OnNextActionAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Overridable Function OnNextActionAsync (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 dialoogvenster dat is aangeroepen. Het type waarde dat wordt teruggegeven is afhankelijk van het kinddialoog.

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