TeamsAgentExtension(AgentApplication, TaskModulesOptions) Constructor
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.
Creates a new TeamsAgentExtension instance. To leverage this extension, call AgentApplication.RegisterExtension(IAgentExtension) with an instance of this class. Use the callback method to register routes for handling Teams-specific events.
public TeamsAgentExtension(Microsoft.Agents.Builder.App.AgentApplication agentApplication, Microsoft.Agents.Extensions.Teams.App.TaskModules.TaskModulesOptions? options = default);
new Microsoft.Agents.Extensions.Teams.App.TeamsAgentExtension : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Extensions.Teams.App.TaskModules.TaskModulesOptions -> Microsoft.Agents.Extensions.Teams.App.TeamsAgentExtension
Public Sub New (agentApplication As AgentApplication, Optional options As TaskModulesOptions = Nothing)
Parameters
- agentApplication
- AgentApplication
The agent application to leverage for route registration.
- options
- TaskModulesOptions
Options for configuring TaskModules.