AgentExtension.AddRoute 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.
Overloads
AddRoute(AgentApplication, RouteSelector, RouteHandler, Boolean, UInt16, String[])
Caution
This method is deprecated. Please use the overload that includes the 'isAgenticOnly' parameter.
[System.Obsolete("This method is deprecated. Please use the overload that includes the 'isAgenticOnly' parameter.")]
public void AddRoute(Microsoft.Agents.Builder.App.AgentApplication agentApplication, Microsoft.Agents.Builder.App.RouteSelector routeSelector, Microsoft.Agents.Builder.App.RouteHandler routeHandler, bool isInvokeRoute = false, ushort rank = 32767, string[] autoSignInHandlers = default);
[<System.Obsolete("This method is deprecated. Please use the overload that includes the 'isAgenticOnly' parameter.")>]
abstract member AddRoute : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Builder.App.RouteSelector * Microsoft.Agents.Builder.App.RouteHandler * bool * uint16 * string[] -> unit
override this.AddRoute : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Builder.App.RouteSelector * Microsoft.Agents.Builder.App.RouteHandler * bool * uint16 * string[] -> unit
Public Sub AddRoute (agentApplication As AgentApplication, routeSelector As RouteSelector, routeHandler As RouteHandler, Optional isInvokeRoute As Boolean = false, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing)
Parameters
- agentApplication
- AgentApplication
- routeSelector
- RouteSelector
- routeHandler
- RouteHandler
- isInvokeRoute
- Boolean
- rank
- UInt16
- autoSignInHandlers
- String[]
Implements
- Attributes
Applies to
AddRoute(AgentApplication, RouteSelector, RouteHandler, Boolean, Boolean, UInt16, String[])
public void AddRoute(Microsoft.Agents.Builder.App.AgentApplication agentApplication, Microsoft.Agents.Builder.App.RouteSelector routeSelector, Microsoft.Agents.Builder.App.RouteHandler routeHandler, bool isInvokeRoute = false, bool isAgenticOnly = false, ushort rank = 32767, string[] autoSignInHandlers = default);
abstract member AddRoute : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Builder.App.RouteSelector * Microsoft.Agents.Builder.App.RouteHandler * bool * bool * uint16 * string[] -> unit
override this.AddRoute : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Builder.App.RouteSelector * Microsoft.Agents.Builder.App.RouteHandler * bool * bool * uint16 * string[] -> unit
Public Sub AddRoute (agentApplication As AgentApplication, routeSelector As RouteSelector, routeHandler As RouteHandler, Optional isInvokeRoute As Boolean = false, Optional isAgenticOnly As Boolean = false, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing)
Parameters
- agentApplication
- AgentApplication
- routeSelector
- RouteSelector
- routeHandler
- RouteHandler
- isInvokeRoute
- Boolean
- isAgenticOnly
- Boolean
- rank
- UInt16
- autoSignInHandlers
- String[]