Taal

HttpConfigurationExtensions.MapBotFramework Methode

Definitie

Koppel het Bot Framework aan in de request execution pipeline.

public static System.Web.Http.HttpConfiguration MapBotFramework(this System.Web.Http.HttpConfiguration httpConfiguration, Action<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder> configurer = default);
static member MapBotFramework : System.Web.Http.HttpConfiguration * Action<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder> -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function MapBotFramework (httpConfiguration As HttpConfiguration, Optional configurer As Action(Of BotFrameworkConfigurationBuilder) = Nothing) As HttpConfiguration

Parameters

httpConfiguration
System.Web.Http.HttpConfiguration

De System.Web.Http.HttpConfiguration om de bot in te mappen.

configurer
Action<BotFrameworkConfigurationBuilder>

Een callback om de bot te configureren.

Retouren

System.Web.Http.HttpConfiguration

Een verwijzing naar dit exemplaar nadat de bewerking is voltooid.

Van toepassing op