CommandBot.RegisterCommands(IList<ITeamsCommandHandler>) Method

Definition

Registers a set of commands to the command bot.

public void RegisterCommands (System.Collections.Generic.IList<Microsoft.TeamsFx.Conversation.ITeamsCommandHandler> commandHandlers);
member this.RegisterCommands : System.Collections.Generic.IList<Microsoft.TeamsFx.Conversation.ITeamsCommandHandler> -> unit
Public Sub RegisterCommands (commandHandlers As IList(Of ITeamsCommandHandler))

Parameters

commandHandlers
IList<ITeamsCommandHandler>

A list of command handlers to be registered to the bot.

Exceptions

commandHandlers is null or empty.

Applies to