Delen via


BotConfigurationExtensions.ValidateLuisKeyExistence(BotConfiguration) Methode

Definitie

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 dat moet worden uitgebreid.

Retouren

Tuple met een booleaanse waarde die aangeeft of de Luis-sleutels van een botconfiguratiebestand aanwezig zijn en het bijbehorende foutbericht.

Van toepassing op