BotFrameworkConfigurationBuilder.UsePaths Method

Definition

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.

Applies to

See also