次の方法で共有


CommandDialog<T>.OnDefault<U> メソッド

定義

一致しない場合は、既定のアクションを定義します。

public Microsoft.Bot.Builder.Dialogs.CommandDialog<T> OnDefault<U> (Microsoft.Bot.Builder.Dialogs.ResumeAfter<Microsoft.Bot.Connector.IMessageActivity> handler, Microsoft.Bot.Builder.Dialogs.ResumeAfter<U> resultHandler = default);
member this.OnDefault : Microsoft.Bot.Builder.Dialogs.ResumeAfter<Microsoft.Bot.Connector.IMessageActivity> * Microsoft.Bot.Builder.Dialogs.ResumeAfter<'U> -> Microsoft.Bot.Builder.Dialogs.CommandDialog<'T>
Public Function OnDefault(Of U) (handler As ResumeAfter(Of IMessageActivity), Optional resultHandler As ResumeAfter(Of U) = Nothing) As CommandDialog(Of T)

型パラメーター

U

結果ハンドラーへの入力の型。

パラメーター

handler
ResumeAfter<IMessageActivity>

一致しない場合に呼び出すハンドラー。

resultHandler
ResumeAfter<U>

handler が chaild ダイアログを作成している場合に呼び出されるオプションの結果ハンドラー。

戻り値

CommandDialog。

適用対象