BotConfiguration.Load(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Load the configuration from a .bot file.
public static Microsoft.Bot.Configuration.BotConfiguration Load (string file, string secret = default);
static member Load : string * string -> Microsoft.Bot.Configuration.BotConfiguration
Public Shared Function Load (file As String, Optional secret As String = Nothing) As BotConfiguration
Parameters
- file
- String
Path to bot file.
- secret
- String
Secret to use to decrypt the file on disk.