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