Language

TeamsHandoffRouteBuilder.WithHandler(TeamsHandoffHandler) Method

Definition

Assigns the specified Teams handoff handler to the current route.

public Microsoft.Agents.Extensions.MSTeams.App.TeamsHandoffRouteBuilder WithHandler(Microsoft.Agents.Extensions.MSTeams.App.TeamsHandoffHandler handler);
member this.WithHandler : Microsoft.Agents.Extensions.MSTeams.App.TeamsHandoffHandler -> Microsoft.Agents.Extensions.MSTeams.App.TeamsHandoffRouteBuilder
Public Function WithHandler (handler As TeamsHandoffHandler) As TeamsHandoffRouteBuilder

Parameters

handler
TeamsHandoffHandler

The Teams handoff handler to associate with the route.

Returns

The current builder instance.

Applies to