TeamUpdateRouteBuilder.WithHandler(TeamUpdateHandler) 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.
Configures the route to use the specified handler for team update events.
public Microsoft.Agents.Extensions.MSTeams.Teams.TeamUpdateRouteBuilder WithHandler(Microsoft.Agents.Extensions.MSTeams.Teams.TeamUpdateHandler handler);
member this.WithHandler : Microsoft.Agents.Extensions.MSTeams.Teams.TeamUpdateHandler -> Microsoft.Agents.Extensions.MSTeams.Teams.TeamUpdateRouteBuilder
Public Function WithHandler (handler As TeamUpdateHandler) As TeamUpdateRouteBuilder
Parameters
- handler
- TeamUpdateHandler
The handler to process team update events.
Returns
The current instance of the TeamUpdateRouteBuilder, enabling method chaining.