Share via


LuisDialog<TResult>.DispatchToIntentHandler Method

Definition

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

Parameters

context
IDialogContext
result
LuisResult

Returns

Applies to