Compartir a través de


CloudSkillHandler Constructor

Definición

Inicializa una nueva instancia de la CloudSkillHandler clase mediante 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)

Parámetros

adapter
BotAdapter

Instancia de que BotAdapter controlará la solicitud.

bot
IBot

Instancia de IBot.

conversationIdFactory
SkillConversationIdFactoryBase

para SkillConversationIdFactoryBase desempaquetar el identificador de conversación y asignarlo al bot que llama.

logger
ILogger

La implementación de ILogger que debe usar este adaptador.

Se aplica a