Jaa


QnAMakerDialog.DisplayQnAResultAsync Method

Definition

Displays QnA Result from stepContext through Activity - with first answer from QnA Maker response.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> DisplayQnAResultAsync (Microsoft.Bot.Builder.Dialogs.WaterfallStepContext stepContext, System.Threading.CancellationToken cancellationToken);
abstract member DisplayQnAResultAsync : Microsoft.Bot.Builder.Dialogs.WaterfallStepContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
override this.DisplayQnAResultAsync : Microsoft.Bot.Builder.Dialogs.WaterfallStepContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Protected Overridable Function DisplayQnAResultAsync (stepContext As WaterfallStepContext, cancellationToken As CancellationToken) As Task(Of DialogTurnResult)

Parameters

stepContext
WaterfallStepContext

stepContext.

cancellationToken
CancellationToken

cancellationToken.

Returns

An object of Task of type DialogTurnResult.

Applies to