Language

TeamUpdateRouteBuilder.WithHandler(TeamUpdateHandler) Method

Definition

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.

Applies to