Freigeben über


CloudSkillHandler Konstruktor

Definition

Initialisiert eine neue Instanz der CloudSkillHandler -Klasse mithilfe von BotFrameworkAuth.

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)

Parameter

adapter
BotAdapter

Eine Instanz von, die die BotAdapter Anforderung verarbeitet.

bot
IBot

Die IBot-Instanz.

conversationIdFactory
SkillConversationIdFactoryBase

Ein SkillConversationIdFactoryBase , um die Konversations-ID zu entpacken und sie dem aufrufenden Bot zuzuordnen.

logger
ILogger

Die ILogger-Implementierung, die dieser Adapter verwenden sollte.

Gilt für: