Jaa


CloudAdapter Constructors

Definition

Overloads

CloudAdapter()

Initializes a new instance of the CloudAdapter class. (Public cloud. No auth. For testing.)

CloudAdapter(BotFrameworkAuthentication, ILogger)

Initializes a new instance of the CloudAdapter class.

CloudAdapter(IConfiguration, IHttpClientFactory, ILogger)

Initializes a new instance of the CloudAdapter class.

CloudAdapter()

Initializes a new instance of the CloudAdapter class. (Public cloud. No auth. For testing.)

public CloudAdapter ();
Public Sub New ()

Applies to

CloudAdapter(BotFrameworkAuthentication, ILogger)

Initializes a new instance of the CloudAdapter class.

public CloudAdapter (Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication botFrameworkAuthentication, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter : Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter
Public Sub New (botFrameworkAuthentication As BotFrameworkAuthentication, Optional logger As ILogger = Nothing)

Parameters

botFrameworkAuthentication
BotFrameworkAuthentication

The BotFrameworkAuthentication this adapter should use.

logger
ILogger

The ILogger implementation this adapter should use.

Applies to

CloudAdapter(IConfiguration, IHttpClientFactory, ILogger)

Initializes a new instance of the CloudAdapter class.

public CloudAdapter (Microsoft.Extensions.Configuration.IConfiguration configuration, System.Net.Http.IHttpClientFactory httpClientFactory = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter : Microsoft.Extensions.Configuration.IConfiguration * System.Net.Http.IHttpClientFactory * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter
Public Sub New (configuration As IConfiguration, Optional httpClientFactory As IHttpClientFactory = Nothing, Optional logger As ILogger = Nothing)

Parameters

configuration
IConfiguration

The IConfiguration instance.

httpClientFactory
IHttpClientFactory

The IHttpClientFactory this adapter should use.

logger
ILogger

The ILogger implementation this adapter should use.

Applies to