Jaa


BotFrameworkHttpAdapter Constructors

Definition

Overloads

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Initializes a new instance of the BotFrameworkHttpAdapter class.

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

Initializes a new instance of the BotFrameworkHttpAdapter class.

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Initializes a new instance of the BotFrameworkHttpAdapter class.

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)

Parameters

credentialProvider
ICredentialProvider

The credential provider.

channelProvider
IChannelProvider

The channel provider.

logger
ILogger<BotFrameworkHttpAdapter>

The ILogger implementation this adapter should use.

Applies to

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

Initializes a new instance of the BotFrameworkHttpAdapter class.

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))

Parameters

credentialProvider
ICredentialProvider

The credential provider.

channelProvider
IChannelProvider

The channel provider.

httpClient
HttpClient

The HttpClient used.

logger
ILogger<BotFrameworkHttpAdapter>

The ILogger implementation this adapter should use.

Applies to