CloudSkillHandler Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CloudSkillHandler class using 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
An instance of the BotAdapter that will handle the request.
- conversationIdFactory
- SkillConversationIdFactoryBase
A SkillConversationIdFactoryBase to unpack the conversation ID and map it to the calling bot.
auth.
- logger
- ILogger
The ILogger implementation this adapter should use.