Delen via


Chain.Then<T,R> Methode

Definitie

Voer een actie uit nadat de IDialog<TResult> bewerking is voltooid.

public static Microsoft.Bot.Builder.Dialogs.IDialog<R> Then<T,R>(this Microsoft.Bot.Builder.Dialogs.IDialog<T> Antecedent, Func<Microsoft.Bot.Builder.Dialogs.IBotContext,Microsoft.Bot.Builder.Dialogs.IAwaitable<T>,System.Threading.Tasks.Task<R>> Action);
static member Then : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Func<Microsoft.Bot.Builder.Dialogs.IBotContext, Microsoft.Bot.Builder.Dialogs.IAwaitable<'T>, System.Threading.Tasks.Task<'R>> -> Microsoft.Bot.Builder.Dialogs.IDialog<'R>
<Extension()>
Public Function Then(Of T, R) (Antecedent As IDialog(Of T), Action As Func(Of IBotContext, IAwaitable(Of T), Task(Of R))) As IDialog(Of R)

Type parameters

T

Het type dialoogvenster.

R

Ze typen geretourneerd door actie.

Parameters

Antecedent
IDialog<T>

De antecedente IDialog<TResult>.

Action
Func<IBotContext,IAwaitable<T>,Task<R>>

De actie die wordt aangeroepen nadat het antecedente dialoogvenster is voltooid.

Retouren

IDialog<R>

Het antecedent-dialoogvenster.

Van toepassing op