LuisDialog<TResult>.DispatchToIntentHandler 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
protected virtual System.Threading.Tasks.Task DispatchToIntentHandler (Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.IAwaitable<Microsoft.Bot.Connector.IMessageActivity> item, Microsoft.Bot.Builder.Luis.Models.IntentRecommendation bestIntent, Microsoft.Bot.Builder.Luis.Models.LuisResult result);
abstract member DispatchToIntentHandler : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.IAwaitable<Microsoft.Bot.Connector.IMessageActivity> * Microsoft.Bot.Builder.Luis.Models.IntentRecommendation * Microsoft.Bot.Builder.Luis.Models.LuisResult -> System.Threading.Tasks.Task
override this.DispatchToIntentHandler : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.IAwaitable<Microsoft.Bot.Connector.IMessageActivity> * Microsoft.Bot.Builder.Luis.Models.IntentRecommendation * Microsoft.Bot.Builder.Luis.Models.LuisResult -> System.Threading.Tasks.Task
Protected Overridable Function DispatchToIntentHandler (context As IDialogContext, item As IAwaitable(Of IMessageActivity), bestIntent As IntentRecommendation, result As LuisResult) As Task
参数
- context
- IDialogContext
- item
- IAwaitable<IMessageActivity>
- bestIntent
- IntentRecommendation
- result
- LuisResult