Partilhar via


BotFrameworkHttpAdapterBase Construtores

Definição

Sobrecargas

BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>)

Inicializa uma nova instância da BotFrameworkHttpAdapterBase classe .

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

Inicializa uma nova instância da BotFrameworkHttpAdapterBase classe .

BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger)

Inicializa uma nova instância da BotFrameworkHttpAdapterBase classe .

BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>)

Inicializa uma nova instância da BotFrameworkHttpAdapterBase classe .

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 fornecedor de credenciais.

channelProvider
IChannelProvider

O fornecedor de canais.

logger
ILogger<BotFrameworkHttpAdapterBase>

A implementação do ILogger que este adaptador deve utilizar.

Aplica-se a

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

Inicializa uma nova instância da BotFrameworkHttpAdapterBase classe .

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 fornecedor de credenciais.

channelProvider
IChannelProvider

O fornecedor de canais.

httpClient
HttpClient

O cliente HTTP.

logger
ILogger<BotFrameworkHttpAdapterBase>

A implementação do ILogger que este adaptador deve utilizar.

Aplica-se a

BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger)

Inicializa uma nova instância da BotFrameworkHttpAdapterBase classe .

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 fornecedor de credenciais.

authConfig
AuthenticationConfiguration

A configuração de autenticação.

channelProvider
IChannelProvider

O fornecedor de canais.

connectorClientRetryPolicy
Microsoft.Rest.TransientFaultHandling.RetryPolicy

Política de repetição para voltar a aplicação de operações HTTP.

customHttpClient
HttpClient

O cliente HTTP.

middleware
IMiddleware

O middleware a adicionar inicialmente ao adaptador.

logger
ILogger

A implementação do ILogger que este adaptador deve utilizar.

Aplica-se a