Share via


AgentApplication.OnHandoff(HandoffHandler, UInt16, String[]) Method

Definition

Handles handoff activities.

public Microsoft.Agents.Builder.App.AgentApplication OnHandoff(Microsoft.Agents.Builder.App.HandoffHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default);
member this.OnHandoff : Microsoft.Agents.Builder.App.HandoffHandler * uint16 * string[] -> Microsoft.Agents.Builder.App.AgentApplication
Public Function OnHandoff (handler As HandoffHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing) As AgentApplication

Parameters

handler
HandoffHandler

Function to call when the route is triggered.

rank
UInt16

0 - ushort.MaxValue for order of evaluation. Ranks of the same value are evaluated in order of addition.

autoSignInHandlers
String[]

Returns

The application instance for chaining purposes.

Applies to