Compartir a través de


BotFrameworkHttpAdapter Constructores

Definición

Sobrecargas

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Inicializa una nueva instancia de la clase BotFrameworkHttpAdapter.

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapter>)

Inicializa una nueva instancia de la clase BotFrameworkHttpAdapter.

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Inicializa una nueva instancia de la clase BotFrameworkHttpAdapter.

public BotFrameworkHttpAdapter (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider = default, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter
Public Sub New (Optional credentialProvider As ICredentialProvider = Nothing, Optional channelProvider As IChannelProvider = Nothing, Optional logger As ILogger(Of BotFrameworkHttpAdapter) = Nothing)

Parámetros

credentialProvider
ICredentialProvider

Proveedor de credenciales.

channelProvider
IChannelProvider

Proveedor del canal.

logger
ILogger<BotFrameworkHttpAdapter>

La implementación de ILogger que debe usar este adaptador.

Se aplica a

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapter>)

Inicializa una nueva instancia de la clase BotFrameworkHttpAdapter.

public BotFrameworkHttpAdapter (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider, System.Net.Http.HttpClient httpClient, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> logger);
new Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter
Public Sub New (credentialProvider As ICredentialProvider, channelProvider As IChannelProvider, httpClient As HttpClient, logger As ILogger(Of BotFrameworkHttpAdapter))

Parámetros

credentialProvider
ICredentialProvider

Proveedor de credenciales.

channelProvider
IChannelProvider

Proveedor del canal.

httpClient
HttpClient

utilizado HttpClient .

logger
ILogger<BotFrameworkHttpAdapter>

La implementación de ILogger que debe usar este adaptador.

Se aplica a