Compartilhar via


QnAMakerDialog.DisplayQnAResultAsync Método

Definição

Exibe o resultado de QnA de stepContext por meio da atividade – com a primeira resposta da resposta do QnA Maker.

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)

Parâmetros

stepContext
WaterfallStepContext

stepContext.

cancellationToken
CancellationToken

Cancellationtoken.

Retornos

Um objeto de Tarefa do tipo DialogTurnResult.

Aplica-se a