Taal

ActionScope.BeginActionAsync(DialogContext, Int32, CancellationToken) Methode

Definitie

Begint een nieuw dialoog en zet het op de dialoogstack.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> BeginActionAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, int offset, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginActionAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
override this.BeginActionAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Overridable Function BeginActionAsync (dc As DialogContext, offset As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)

Parameters

dc
DialogContext

Het is DialogContext voor de huidige wending van het gesprek.

offset
Int32

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