Språk

CloudSkillHandler Konstruktor

Definition

Initierar en ny instans av klassen med hjälp av CloudSkillHandler 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)

Parametrar

adapter
BotAdapter

En instans av den BotAdapter som hanterar förfrågan.

bot
IBot

Instansen IBot .

conversationIdFactory
SkillConversationIdFactoryBase

A SkillConversationIdFactoryBase för att packa upp konversations-ID:t och koppla det till den uppringande boten.

auth
BotFrameworkAuthentication

Auktoritet.

logger
ILogger

Den ILogger-implementation som denna adapter bör använda.

Gäller för