Freigeben über


RouteAttribute Class

Definition

Adds an AgentApplication Routes

RouteType:

Activity,       // { Type | RegEx | Selector}, Rank, AutoHandlers
Message,        // { Text | RegEx | Selector}, Rank, AutoHandlers
Event,          // { EventName | RegEx | Selector}, Rank, AutoHandlers
Conversation,   // { EventName | Selector}, Rank, AutoHandlers
HandOff,        // Selector, Rank, AutoHandlers
ReactionAdded,  // Rank, AutoHandlers
ReactionRemoved // Rank, AutoHandlers
[System.AttributeUsage(System.AttributeTargets.Method, Inherited=true)]
public class RouteAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, Inherited=true)>]
type RouteAttribute = class
    inherit Attribute
Public Class RouteAttribute
Inherits Attribute
Inheritance
RouteAttribute
Attributes

Constructors

Name Description
RouteAttribute()

Properties

Name Description
EventName

Activity Name for Invokes, Events, and ConversationUpdate.

IsAgentic

Indicates if this is an Agentic route. Defaults to false.

Rank

Route ordering rank.

Regex

Activity Text Regex

RouteType
Selector

Name of a custom RouteSelector delegate.

SignInHandlers

Delimited list of OAuth handlers to use for the RouteHandler.

Text

Activity Text

Type

Activity Type, ActivityTypes

Methods

Name Description
AddRoute(AgentApplication, MethodInfo)

Applies to