Chain.ContinueWith<T,R> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>.