TeamsConversationUpdateRouteBuilder.WithHandler(RouteHandler) Method

Definition

Assigns the specified route handler to the current route and returns the updated builder instance.

public Microsoft.Agents.Extensions.Teams.App.Builders.TeamsConversationUpdateRouteBuilder WithHandler(Microsoft.Agents.Builder.App.RouteHandler handler);
member this.WithHandler : Microsoft.Agents.Builder.App.RouteHandler -> Microsoft.Agents.Extensions.Teams.App.Builders.TeamsConversationUpdateRouteBuilder
Public Function WithHandler (handler As RouteHandler) As TeamsConversationUpdateRouteBuilder

Parameters

handler
RouteHandler

The route handler to associate with the route. Cannot be null.

Returns

The current RouteBuilder instance with the handler set, enabling method chaining.

Applies to