HandoffRouteBuilderBase<TBuilder>.WithHandlerCore Method

Definition

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

protected TBuilder WithHandlerCore(Microsoft.Agents.Builder.App.HandoffHandler handler);
member this.WithHandlerCore : Microsoft.Agents.Builder.App.HandoffHandler -> 'Builder
Protected Function WithHandlerCore (handler As HandoffHandler) As TBuilder

Parameters

handler
HandoffHandler

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

Returns

TBuilder

The current builder instance.

Applies to