CardActionBot.RegisterHandlers 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 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.