Chain.Do<T> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Effectuez un effet secondaire après la fin d’un IDialog<TResult> traitement.
public static Microsoft.Bot.Builder.Dialogs.IDialog<T> Do<T>(this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, Func<Microsoft.Bot.Builder.Dialogs.IBotContext,Microsoft.Bot.Builder.Dialogs.IAwaitable<T>,System.Threading.Tasks.Task> callback);
static member Do : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Func<Microsoft.Bot.Builder.Dialogs.IBotContext, Microsoft.Bot.Builder.Dialogs.IAwaitable<'T>, System.Threading.Tasks.Task> -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
<Extension()>
Public Function Do(Of T) (antecedent As IDialog(Of T), callback As Func(Of IBotContext, IAwaitable(Of T), Task)) As IDialog(Of T)
Paramètres de type
- T
Le type de dialogue.
Paramètres
- antecedent
- IDialog<T>
L’antécédent IDialog<TResult>.
- callback
- Func<IBotContext,IAwaitable<T>,Task>
Méthode de rappel.
Retours
Le dialogue antécédent.