Taal

WaterfallDialog.RunStepAsync Methode

Definitie

Dat overschrijdt een stap uit de watervaldialoog.

protected System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> RunStepAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, int index, Microsoft.Bot.Builder.Dialogs.DialogReason reason, object result, System.Threading.CancellationToken cancellationToken);
member this.RunStepAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * int * Microsoft.Bot.Builder.Dialogs.DialogReason * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Function RunStepAsync (dc As DialogContext, index As Integer, reason As DialogReason, result As Object, cancellationToken As CancellationToken) As Task(Of DialogTurnResult)

Parameters

dc
DialogContext

Het is DialogContext voor de huidige wending van het gesprek.

index
Int32

De index van de huidige watervalstap die uitgevoerd moet worden.

reason
DialogReason

De reden dat de watervalstap wordt uitgevoerd.

result
Object

Resultaat wordt teruggegeven door een dialoogvenster dat in de vorige watervalstap wordt aangeroepen.

cancellationToken
CancellationToken

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

Retouren

Een taak die het werk vertegenwoordigt dat in de wachtrij staat om uit te voeren.

Van toepassing op