BotConfigurationExtensions.ValidateQnAKeyExistence(BotConfiguration) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查 的 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 金鑰是否存在。