BotFrameworkHttpAdapter Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>) |
Inicializa uma nova instância da BotFrameworkHttpAdapter classe. |
BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapter>) |
Inicializa uma nova instância da BotFrameworkHttpAdapter classe. |
BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)
Inicializa uma nova instância da BotFrameworkHttpAdapter classe.
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
O fornecedor de credenciais.
- channelProvider
- IChannelProvider
O fornecedor de canais.
- logger
- ILogger<BotFrameworkHttpAdapter>
A implementação do ILogger que este adaptador deve utilizar.
Aplica-se a
BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapter>)
Inicializa uma nova instância da BotFrameworkHttpAdapter classe.
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
O fornecedor de credenciais.
- channelProvider
- IChannelProvider
O fornecedor de canais.
- httpClient
- HttpClient
O HttpClient utilizado.
- logger
- ILogger<BotFrameworkHttpAdapter>
A implementação do ILogger que este adaptador deve utilizar.