BotFrameworkHttpAdapterBase Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>)
Inicializuje novou instanci BotFrameworkHttpAdapterBase třídy.
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)
Parametry
- credentialProvider
- ICredentialProvider
Zprostředkovatel přihlašovacích údajů.
- channelProvider
- IChannelProvider
Poskytovatel kanálu.
- logger
- ILogger<BotFrameworkHttpAdapterBase>
Implementace ILoggeru, který by měl tento adaptér používat.
Platí pro
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapterBase>)
Inicializuje novou instanci BotFrameworkHttpAdapterBase třídy.
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))
Parametry
- credentialProvider
- ICredentialProvider
Zprostředkovatel přihlašovacích údajů.
- channelProvider
- IChannelProvider
Poskytovatel kanálu.
- httpClient
- HttpClient
Klient HTTP.
- logger
- ILogger<BotFrameworkHttpAdapterBase>
Implementace ILoggeru, který by měl tento adaptér používat.
Platí pro
BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger)
Inicializuje novou instanci BotFrameworkHttpAdapterBase třídy.
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)
Parametry
- credentialProvider
- ICredentialProvider
Zprostředkovatel přihlašovacích údajů.
- authConfig
- AuthenticationConfiguration
Konfigurace ověřování.
- channelProvider
- IChannelProvider
Poskytovatel kanálu.
- connectorClientRetryPolicy
- Microsoft.Rest.TransientFaultHandling.RetryPolicy
Zásady opakování pro vyřazení operací HTTP.
- customHttpClient
- HttpClient
Klient HTTP.
- middleware
- IMiddleware
Middleware, který se má na začátku přidat do adaptéru.
- logger
- ILogger
Implementace ILoggeru, který by měl tento adaptér používat.