Compartilhar via


CloudSkillHandler Construtor

Definição

Inicializa uma nova instância da CloudSkillHandler classe usando 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

Uma instância do BotAdapter que manipulará a solicitação.

bot
IBot

A instância IBot.

conversationIdFactory
SkillConversationIdFactoryBase

Um SkillConversationIdFactoryBase para desempacotar a ID da conversa e mapeá-la para o bot de chamada.

logger
ILogger

A implementação do ILogger que esse adaptador deve usar.

Aplica-se a