CommandBot(BotAdapter, CommandOptions) 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 CommandBot class.
public CommandBot (Microsoft.Bot.Builder.BotAdapter adapter, Microsoft.TeamsFx.Conversation.CommandOptions options);
new Microsoft.TeamsFx.Conversation.CommandBot : Microsoft.Bot.Builder.BotAdapter * Microsoft.TeamsFx.Conversation.CommandOptions -> Microsoft.TeamsFx.Conversation.CommandBot
Public Sub New (adapter As BotAdapter, options As CommandOptions)
Parameters
- adapter
- BotAdapter
The bot adapter.
- options
- CommandOptions
The initialize options.
Exceptions
adapter
or options
is null.