CommandBot.RegisterCommand(ITeamsCommandHandler) Method

Definition

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

commandHandleris null.

Applies to