HandoffRouteBuilder.WithHandler(HandoffHandler) Method

Definition

Configures the route to handle handoff actions using the specified handler.

public Microsoft.Agents.Builder.App.HandoffRouteBuilder WithHandler(Microsoft.Agents.Builder.App.HandoffHandler handler);
member this.WithHandler : Microsoft.Agents.Builder.App.HandoffHandler -> Microsoft.Agents.Builder.App.HandoffRouteBuilder
Public Function WithHandler (handler As HandoffHandler) As HandoffRouteBuilder

Parameters

handler
HandoffHandler

The handler to invoke when a matching handoff activity is received.

Returns

The current HandoffRouteBuilder instance for method chaining.

Applies to