CloudAdapterBase(BotFrameworkAuthentication, ILogger) 构造函数

定义

初始化 CloudAdapterBase 类的新实例。

protected CloudAdapterBase (Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication botFrameworkAuthentication, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.CloudAdapterBase : Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.CloudAdapterBase
Protected Sub New (botFrameworkAuthentication As BotFrameworkAuthentication, Optional logger As ILogger = Nothing)

参数

botFrameworkAuthentication
BotFrameworkAuthentication

用于验证和创建令牌的云环境。

logger
ILogger

此适配器应使用的 ILogger 实现。

适用于