Språk

BotFrameworkConfigurationBuilder.UsePaths Metod

Definition

Konfigurera vilka vägar som ska användas för att exponera botens olika ändpunkter.

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

Parametrar

configurePaths
Action<BotFrameworkPaths>

En callback för att konfigurera de vägar som avgör var botens endpoints ska exponeras.

Returer

En referens till den här instansen när åtgärden har slutförts.

Gäller för

Se även