CloudSkillHandler 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用 BotFrameworkAuth 初始化该 CloudSkillHandler 类的新实例。
public CloudSkillHandler(Microsoft.Bot.Builder.BotAdapter adapter, Microsoft.Bot.Builder.IBot bot, Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryBase conversationIdFactory, Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication auth, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Skills.CloudSkillHandler : Microsoft.Bot.Builder.BotAdapter * Microsoft.Bot.Builder.IBot * Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryBase * Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Skills.CloudSkillHandler
Public Sub New (adapter As BotAdapter, bot As IBot, conversationIdFactory As SkillConversationIdFactoryBase, auth As BotFrameworkAuthentication, Optional logger As ILogger = Nothing)
参数
- adapter
- BotAdapter
将处理请求的 BotAdapter 实例。
- conversationIdFactory
- SkillConversationIdFactoryBase
一个 SkillConversationIdFactoryBase,用于解压缩会话 ID 并将其映射到调用机器人。
授权。
- logger
- ILogger
这个适配器应该使用的ILogger实现。