語言

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 實作。

適用於