ActionScope.OnContinueLoopAsync Methode

Definition

Wird aufgerufen, wenn das Steuerelement an dieses Dialogfeld zurückgegeben wird, wobei ActionScopeResult die Eigenschaft ActionCommand auf ContinueLoopfestgelegt ist.

protected virtual 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);
abstract member 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>
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 Overridable 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: