BotFrameworkHttpAdapterBase Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>) |
Inicializa uma nova instância da classe BotFrameworkHttpAdapterBase. |
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapterBase>) |
Inicializa uma nova instância da classe BotFrameworkHttpAdapterBase. |
BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger) |
Inicializa uma nova instância da classe BotFrameworkHttpAdapterBase. |
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>)
Inicializa uma nova instância da classe BotFrameworkHttpAdapterBase.
public BotFrameworkHttpAdapterBase (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider = default, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> logger = default);
new Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> -> Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase
Public Sub New (Optional credentialProvider As ICredentialProvider = Nothing, Optional channelProvider As IChannelProvider = Nothing, Optional logger As ILogger(Of BotFrameworkHttpAdapterBase) = Nothing)
Parâmetros
- credentialProvider
- ICredentialProvider
O provedor de credenciais.
- channelProvider
- IChannelProvider
O provedor de canais.
- logger
- ILogger<BotFrameworkHttpAdapterBase>
A implementação do ILogger que esse adaptador deve usar.
Aplica-se a
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapterBase>)
Inicializa uma nova instância da classe BotFrameworkHttpAdapterBase.
public BotFrameworkHttpAdapterBase (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider, System.Net.Http.HttpClient httpClient, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> logger);
new Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> -> Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase
Public Sub New (credentialProvider As ICredentialProvider, channelProvider As IChannelProvider, httpClient As HttpClient, logger As ILogger(Of BotFrameworkHttpAdapterBase))
Parâmetros
- credentialProvider
- ICredentialProvider
O provedor de credenciais.
- channelProvider
- IChannelProvider
O provedor de canais.
- httpClient
- HttpClient
O cliente HTTP.
- logger
- ILogger<BotFrameworkHttpAdapterBase>
A implementação do ILogger que esse adaptador deve usar.
Aplica-se a
BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger)
Inicializa uma nova instância da classe BotFrameworkHttpAdapterBase.
public BotFrameworkHttpAdapterBase (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration authConfig, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default, Microsoft.Rest.TransientFaultHandling.RetryPolicy connectorClientRetryPolicy = default, System.Net.Http.HttpClient customHttpClient = default, Microsoft.Bot.Builder.IMiddleware middleware = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration * Microsoft.Bot.Connector.Authentication.IChannelProvider * Microsoft.Rest.TransientFaultHandling.RetryPolicy * System.Net.Http.HttpClient * Microsoft.Bot.Builder.IMiddleware * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase
Public Sub New (credentialProvider As ICredentialProvider, authConfig As AuthenticationConfiguration, Optional channelProvider As IChannelProvider = Nothing, Optional connectorClientRetryPolicy As RetryPolicy = Nothing, Optional customHttpClient As HttpClient = Nothing, Optional middleware As IMiddleware = Nothing, Optional logger As ILogger = Nothing)
Parâmetros
- credentialProvider
- ICredentialProvider
O provedor de credenciais.
- authConfig
- AuthenticationConfiguration
A configuração de autenticação.
- channelProvider
- IChannelProvider
O provedor de canais.
- connectorClientRetryPolicy
- Microsoft.Rest.TransientFaultHandling.RetryPolicy
Política de repetição para executar novamente operações HTTP.
- customHttpClient
- HttpClient
O cliente HTTP.
- middleware
- IMiddleware
O middleware a ser adicionado inicialmente ao adaptador.
- logger
- ILogger
A implementação do ILogger que esse adaptador deve usar.