Freigeben über


ForeachPage.OnContinueLoopAsync Methode

Definition

Wird aufgerufen, wenn ein Steuerelement an dieses Dialogfeld zurückgibt, wobei ActionScopeResult die Eigenschaft ActionCommand auf ContinueLoopfestgelegt ist.

protected override System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> OnContinueLoopAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.ActionScopeResult actionScopeResult, System.Threading.CancellationToken cancellationToken = default);
override this.OnContinueLoopAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.ActionScopeResult * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Overrides Function OnContinueLoopAsync (dc As DialogContext, actionScopeResult As ActionScopeResult, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)

Parameter

dc
DialogContext

Der Dialogkontext für den aktuellen Turn der Unterhaltung.

actionScopeResult
ActionScopeResult

Enthält das Aktionsbereichsergebnis.

cancellationToken
CancellationToken

Ein Abbruchtoken, das von anderen Objekten oder Threads verwendet werden kann, um Nachricht vom Abbruch zu empfangen.

Gibt zurück

Eine Task, die den asynchronen Vorgang darstellt

Hinweise

Die Standardeinstellung besteht darin, das Dialogfeld einfach zu beenden und an das übergeordnete Element zur Behandlung weiterzuverbreiten.

Gilt für: