次の方法で共有


Chain.Continuation<T,R> 代理人

定義

継続側 IDialog<TResult> が完了したら、この継続メソッドを実行して次 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)) 

型パラメーター

T

継続するダイアログの種類。

この型パラメーターは反変です。 つまり、指定した型、または弱い派生型のいずれかを使用することができます。 共変性および反変性の詳細については、「ジェネリックの共変性と反変性」をご覧ください。
R

次のダイアログの種類。

パラメーター

context
IBotContext

ボット コンテキスト。

item
IAwaitable<T>

IDialog<TResult>の の結果。

戻り値

IDialog<TResult>の を表すタスク。

適用対象