BotConfigurationExtensions.ValidateQnAKeyExistence(BotConfiguration) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Prüft, ob der QnAMakerService Schlüssel definiert ist.
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)
Parameter
- botConfiguration
- BotConfiguration
BotConfiguration-Objekt zum Erweitern.
Gibt zurück
Boolean, das anzeigt, ob die QnAMaker-Schlüssel einer Bot-Konfigurationsdatei vorhanden sind.