BotFrameworkHttpAdapterBase Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>) |
Initializes a new instance of the BotFrameworkHttpAdapterBase class. |
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapterBase>) |
Initializes a new instance of the BotFrameworkHttpAdapterBase class. |
BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger) |
Initializes a new instance of the BotFrameworkHttpAdapterBase class. |
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>)
Initializes a new instance of the BotFrameworkHttpAdapterBase class.
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)
Parameters
- credentialProvider
- ICredentialProvider
The credential provider.
- channelProvider
- IChannelProvider
The channel provider.
- logger
- ILogger<BotFrameworkHttpAdapterBase>
The ILogger implementation this adapter should use.
Applies to
BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapterBase>)
Initializes a new instance of the BotFrameworkHttpAdapterBase class.
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))
Parameters
- credentialProvider
- ICredentialProvider
The credential provider.
- channelProvider
- IChannelProvider
The channel provider.
- httpClient
- HttpClient
The HTTP client.
- logger
- ILogger<BotFrameworkHttpAdapterBase>
The ILogger implementation this adapter should use.
Applies to
BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger)
Initializes a new instance of the BotFrameworkHttpAdapterBase class.
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)
Parameters
- credentialProvider
- ICredentialProvider
The credential provider.
- authConfig
- AuthenticationConfiguration
The authentication configuration.
- channelProvider
- IChannelProvider
The channel provider.
- connectorClientRetryPolicy
- Microsoft.Rest.TransientFaultHandling.RetryPolicy
Retry policy for retyring HTTP operations.
- customHttpClient
- HttpClient
The HTTP client.
- middleware
- IMiddleware
The middleware to initially add to the adapter.
- logger
- ILogger
The ILogger implementation this adapter should use.