BotFrameworkConfigurationBuilder.UsePaths 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.
Configures which paths should be used to expose the various endpoints of the bot.
public Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder UsePaths (Action<Microsoft.Bot.Builder.Integration.BotFrameworkPaths> configurePaths);
member this.UsePaths : Action<Microsoft.Bot.Builder.Integration.BotFrameworkPaths> -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder
Public Function UsePaths (configurePaths As Action(Of BotFrameworkPaths)) As BotFrameworkConfigurationBuilder
Parameters
- configurePaths
- Action<BotFrameworkPaths>
A callback to configure the paths that determine where the endpoints of the bot will be exposed.
Returns
A reference to this instance after the operation has completed.