HttpConfigurationExtensions.MapBotFramework Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Wijs het Bot Framework toe aan de pijplijn voor de uitvoering van de aanvraag.
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 waaraan de bot moet worden toegewezen.
- configurer
- Action<BotFrameworkConfigurationBuilder>
Een callback om de bot te configureren.
Retouren
Een verwijzing naar dit exemplaar nadat de bewerking is voltooid.