CloudSkillHandler 构造函数

定义

使用 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

bot
IBot

IBot 实例。

conversationIdFactory
SkillConversationIdFactoryBase

用于 SkillConversationIdFactoryBase 解压缩对话 ID 并将其映射到调用机器人的 。

logger
ILogger

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

适用于