CommandBot.RegisterCommand(ITeamsCommandHandler) Method
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.
Registers a command to the command bot.
public void RegisterCommand (Microsoft.TeamsFx.Conversation.ITeamsCommandHandler commandHandler);
member this.RegisterCommand : Microsoft.TeamsFx.Conversation.ITeamsCommandHandler -> unit
Public Sub RegisterCommand (commandHandler As ITeamsCommandHandler)
Parameters
- commandHandler
- ITeamsCommandHandler
A command handler implements .
Exceptions
commandHandler
is null.