QnAMakerDialog.DisplayQnAResultAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Geeft het QnA-resultaat van stepContext tot en met Activity weer, met het eerste antwoord van het QnA Maker-antwoord.
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.
Retouren
Een object van taak van het type DialogTurnResult.