ActionScope.BeginActionAsync(DialogContext, Int32, CancellationToken) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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
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.