Chain.Continuation<T,R> Delegate

Definition

When the antecedent IDialog<TResult> has completed, execute this continuation method to construct the next IDialog<TResult>.

public delegate System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.IDialog<R>> Chain.Continuation<in T,R>(IBotContext context, IAwaitable<in T> item);
type Chain.Continuation<'T, 'R> = delegate of IBotContext * IAwaitable<'T> -> Task<IDialog<'R>>
Public Delegate Function Chain.Continuation(Of In T, R)(context As IBotContext, item As IAwaitable(Of In T)) As Task(Of IDialog(Of R)) 

Type Parameters

T

The type of the antecedent dialog.

This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
R

The type of the next dialog.

Parameters

context
IBotContext

The bot context.

item
IAwaitable<T>

The result of the previous IDialog<TResult>.

Return Value

A task that represents the next IDialog<TResult>.

Applies to