語言

QnAMakerRecognizer.GetQnAMakerClientAsync(DialogContext) 方法

定義

取得 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)

參數

dc
DialogContext

用來存取狀態的 DialogContext。

傳回

IQnAMakerClient的實例。

適用於