CloudAdapter 构造函数

定义

重载

CloudAdapter()

初始化 CloudAdapter 类的新实例。 (公有云。无身份验证。用于测试。)

CloudAdapter(BotFrameworkAuthentication, ILogger)

初始化 CloudAdapter 类的新实例。

CloudAdapter(IConfiguration, IHttpClientFactory, ILogger)

初始化 CloudAdapter 类的新实例。

CloudAdapter()

初始化 CloudAdapter 类的新实例。 (公有云。无身份验证。用于测试。)

public CloudAdapter ();
Public Sub New ()

适用于

CloudAdapter(BotFrameworkAuthentication, ILogger)

初始化 CloudAdapter 类的新实例。

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)

参数

botFrameworkAuthentication
BotFrameworkAuthentication

BotFrameworkAuthentication 适配器应使用。

logger
ILogger

ILogger 适配器应使用的实现。

适用于

CloudAdapter(IConfiguration, IHttpClientFactory, ILogger)

初始化 CloudAdapter 类的新实例。

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)

参数

configuration
IConfiguration

IConfiguration 实例。

httpClientFactory
IHttpClientFactory

IHttpClientFactory 适配器应使用。

logger
ILogger

ILogger 适配器应使用的实现。

适用于