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实现。

适用于