TaskModule(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 instance of the TaskModules class.
public TaskModule(Microsoft.Agents.Builder.App.AgentApplication app, Microsoft.Agents.Extensions.Teams.App.TaskModules.TaskModulesOptions? taskModulesOptions = default);
new Microsoft.Agents.Extensions.Teams.App.TaskModules.TaskModule : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Extensions.Teams.App.TaskModules.TaskModulesOptions -> Microsoft.Agents.Extensions.Teams.App.TaskModules.TaskModule
Public Sub New (app As AgentApplication, Optional taskModulesOptions As TaskModulesOptions = Nothing)
Parameters
- app
- AgentApplication
The top level application class to register handlers with.
- taskModulesOptions
- TaskModulesOptions