Partager via


CloudSkillHandler Constructeur

Définition

Initialise une nouvelle instance de la classe à l’aide CloudSkillHandler de 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)

Paramètres

adapter
BotAdapter

Instance du BotAdapter qui gère la requête.

bot
IBot

Instance IBot.

conversationIdFactory
SkillConversationIdFactoryBase

pour SkillConversationIdFactoryBase décompresser l’ID de conversation et le mapper au bot appelant.

logger
ILogger

Implémentation ILogger que cet adaptateur doit utiliser.

S’applique à