BotConfigurationExtensions.ValidateLuisKeyExistence(BotConfiguration) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Controleert of de LuisService sleutel is gedefinieerd.
public static(bool IsValid, string ErrMsg) ValidateLuisKeyExistence(this Microsoft.Bot.Configuration.BotConfiguration botConfiguration);
static member ValidateLuisKeyExistence : Microsoft.Bot.Configuration.BotConfiguration -> ValueTuple<bool, string>
<Extension()>
Public Function ValidateLuisKeyExistence (botConfiguration As BotConfiguration) As ValueTuple(Of Boolean, String)
Parameters
- botConfiguration
- BotConfiguration
BotConfiguration-object om uit te breiden.
Retouren
Tuple met een boolean die aangeeft of de Luis-sleutels van een botconfiguratiebestand aanwezig zijn en de foutmelding.