Jaa


QnAMakerRecognizer.GetQnAMakerClientAsync(DialogContext) Method

Definition

Gets an instance of IQnAMakerClient.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.IQnAMakerClient> GetQnAMakerClientAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dc);
abstract member GetQnAMakerClientAsync : Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.IQnAMakerClient>
override this.GetQnAMakerClientAsync : Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.IQnAMakerClient>
Protected Overridable Function GetQnAMakerClientAsync (dc As DialogContext) As Task(Of IQnAMakerClient)

Parameters

dc
DialogContext

The DialogContext used to access state.

Returns

An instance of IQnAMakerClient.

Applies to