Taal

BotConfiguration.LoadFromFolder(String, String) Methode

Definitie

Laad de botconfiguratie door in een map te kijken en het eerste .bot-bestand in die map te laden.

public static Microsoft.Bot.Configuration.BotConfiguration LoadFromFolder(string folder, string secret = default);
static member LoadFromFolder : string * string -> Microsoft.Bot.Configuration.BotConfiguration
Public Shared Function LoadFromFolder (folder As String, Optional secret As String = Nothing) As BotConfiguration

Parameters

folder
String

Map om botbestanden te zoeken.

secret
String

Geheim om sleutels te versleutelen.

Retouren

BotConfiguration.

Van toepassing op