CardActionBot.RegisterHandlers Method

Definition

Registers a set of adaptive card action handlers to the conversation bot.

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

Parameters

cardActionHandlers
IList<IAdaptiveCardActionHandler>

A list of adaptive card action handlers to be registered to the bot.

Exceptions

cardActionHandlers is null or empty.

Applies to