HandoffRouteBuilder.WithHandler(HandoffHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.