Delen via


BotConfiguration.LoadFromFolderAsync(String, String) Methode

Definitie

Laad de botconfiguratie door in een map te zoeken en het eerste BOT-bestand in de map te laden.

public static System.Threading.Tasks.Task<Microsoft.Bot.Configuration.BotConfiguration> LoadFromFolderAsync(string folder, string secret = default);
static member LoadFromFolderAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Bot.Configuration.BotConfiguration>
Public Shared Function LoadFromFolderAsync (folder As String, Optional secret As String = Nothing) As Task(Of BotConfiguration)

Parameters

folder
String

Map om te zoeken naar botbestanden.

secret
String

Geheim voor het versleutelen van sleutels.

Retouren

Task van BotConfiguration.

Van toepassing op