Compartir a través de


HttpConfigurationExtensions.MapBotFramework Método

Definición

Asigne Bot Framework a la canalización de ejecución de solicitudes.

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

Parámetros

httpConfiguration
System.Web.Http.HttpConfiguration

al System.Web.Http.HttpConfiguration que se va a asignar el bot.

configurer
Action<BotFrameworkConfigurationBuilder>

Devolución de llamada para configurar el bot.

Devoluciones

System.Web.Http.HttpConfiguration

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a