語言

BotConfigurationExtensions.ValidateQnAKeyExistence(BotConfiguration) 方法

定義

檢查 的 key QnAMakerService 是否已被定義。

public static(bool IsValid, string ErrMsg) ValidateQnAKeyExistence(this Microsoft.Bot.Configuration.BotConfiguration botConfiguration);
static member ValidateQnAKeyExistence : Microsoft.Bot.Configuration.BotConfiguration -> ValueTuple<bool, string>
<Extension()>
Public Function ValidateQnAKeyExistence (botConfiguration As BotConfiguration) As ValueTuple(Of Boolean, String)

參數

botConfiguration
BotConfiguration

BotConfiguration 物件要延伸。

傳回

布林值,表示機器人設定檔的 QnAMaker 金鑰是否存在。

適用於