AgentLifecycleExtensions.OnAgenticUserDisabled 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 handler for AgenticUserDisabled lifecycle event activities.
public static Microsoft.Teams.Apps.TeamsBotApplication OnAgenticUserDisabled(this Microsoft.Teams.Apps.TeamsBotApplication app, Microsoft.Teams.Apps.AgenticUserDisabledHandler handler);
static member OnAgenticUserDisabled : Microsoft.Teams.Apps.TeamsBotApplication * Microsoft.Teams.Apps.AgenticUserDisabledHandler -> Microsoft.Teams.Apps.TeamsBotApplication
<Extension()>
Public Function OnAgenticUserDisabled (app As TeamsBotApplication, handler As AgenticUserDisabledHandler) As TeamsBotApplication
Parameters
The Teams bot application.
- handler
- AgenticUserDisabledHandler
The handler to register.
Returns
The updated Teams bot application.