Share via


IntentActivityHandler Delegate

Definition

The handler for a LUIS intent.

public delegate System.Threading.Tasks.Task IntentActivityHandler(IDialogContext context, IAwaitable<IMessageActivity> message, LuisResult luisResult);
type IntentActivityHandler = delegate of IDialogContext * IAwaitable<IMessageActivity> * LuisResult -> Task
Public Delegate Function IntentActivityHandler(context As IDialogContext, message As IAwaitable(Of IMessageActivity), luisResult As LuisResult) As Task 

Parameters

context
IDialogContext

The dialog context.

message
IAwaitable<IMessageActivity>

The dialog message.

luisResult
LuisResult

The LUIS result.

Return Value

A task representing the completion of the intent processing.

Applies to