Chain.ContinueWith<T,R> Method

Definition

When the antecedent IDialog<TResult> has completed, execute the continuation to produce the next IDialog<TResult>.

public static Microsoft.Bot.Builder.Dialogs.IDialog<R> ContinueWith<T,R> (this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, Microsoft.Bot.Builder.Dialogs.Chain.Continuation<T,R> continuation);
static member ContinueWith : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Microsoft.Bot.Builder.Dialogs.Chain.Continuation<'T, 'R> -> Microsoft.Bot.Builder.Dialogs.IDialog<'R>
<Extension()>
Public Function ContinueWith(Of T, R) (antecedent As IDialog(Of T), continuation As Chain.Continuation(Of T, R)) As IDialog(Of R)

Type Parameters

T

The type of the antecedent dialog.

R

The type of the next dialog.

Parameters

antecedent
IDialog<T>

The antecedent IDialog<TResult>.

continuation
Chain.Continuation<T,R>

The continuation to produce the next IDialog<TResult>.

Returns

IDialog<R>

The next IDialog<TResult>.

Applies to