Delen via


CloudSkillHandler Constructor

Definitie

Initialiseert een nieuw exemplaar van de CloudSkillHandler klasse met behulp van 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)

Parameters

adapter
BotAdapter

Een exemplaar van de BotAdapter dat de aanvraag afhandelt.

bot
IBot

Het IBot-exemplaar.

conversationIdFactory
SkillConversationIdFactoryBase

Een SkillConversationIdFactoryBase om de gespreks-id uit te pakken en toe te wijzen aan de aanroepende bot.

logger
ILogger

De ILogger-implementatie die deze adapter moet gebruiken.

Van toepassing op