CloudAdapterBase(BotFrameworkAuthentication, ILogger) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 实现。