Delen via


ActionScope.OnContinueLoopAsync Methode

Definitie

Wordt aangeroepen wanneer het besturingselement wordt teruggezet naar dit dialoogvenster met een ActionScopeResult met de eigenschap ActionCommand ingesteld op ContinueLoop.

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)

Parameters

dc
DialogContext

De dialoogvenstercontext voor de huidige wending van het gesprek.

actionScopeResult
ActionScopeResult

Bevat het resultaat van het actiebereik.

cancellationToken
CancellationToken

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

Retouren

Een Task die de asynchrone bewerking vertegenwoordigt.

Opmerkingen

De standaardinstelling is om het dialoogvenster te beƫindigen en door te geven aan het bovenliggende item dat moet worden verwerkt.

Van toepassing op