Taal

BotConfiguration.LoadFromFolderAsync(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 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 botbestanden te zoeken.

secret
String

Geheim om sleutels te versleutelen.

Retouren

Task van BotConfiguration.

Van toepassing op