Share via


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

RouteAttribute()

Properties

EventName

Activity Name for Invokes, Events, and ConversationUpdate.

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

AddRoute(AgentApplication, MethodInfo)

Applies to