共用方式為


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將交談識別碼解壓縮並對應至呼叫 Bot 的 。

logger
ILogger

此配接器應該使用的 ILogger 實作。

適用於