Language

TeamsTypeRouteBuilder Class

Definition

public class TeamsTypeRouteBuilder : Microsoft.Agents.Builder.App.TypeRouteBuilderBase<Microsoft.Agents.Extensions.MSTeams.App.TeamsTypeRouteBuilder>
type TeamsTypeRouteBuilder = class
    inherit TypeRouteBuilderBase<TeamsTypeRouteBuilder>
Public Class TeamsTypeRouteBuilder
Inherits TypeRouteBuilderBase(Of TeamsTypeRouteBuilder)
Inheritance

Constructors

Name Description
TeamsTypeRouteBuilder()

Fields

Name Description
_route (Inherited from RouteBuilderBase<TBuilder>)

Methods

Name Description
AsAgentic(Boolean)

Configures the route to operate in agentic mode, enabling behaviors associated with agentic processing.

(Inherited from RouteBuilderBase<TBuilder>)
AsInvoke(Boolean)

Flags the route for Invoke handling.

(Inherited from RouteBuilderBase<TBuilder>)
AsNonTerminal()

Marks the current route as non-terminal and returns the updated builder instance.

(Inherited from RouteBuilderBase<TBuilder>)
Build()

Builds and returns the configured route instance after validating required components.

(Inherited from RouteBuilderBase<TBuilder>)
Create()

Creates a new instance of the TeamsTypeRouteBuilder class.

PreBuild()
WithChannelId(ChannelId)

Sets the channel identifier for the route and returns the builder instance for method chaining.

(Inherited from RouteBuilderBase<TBuilder>)
WithHandler(TeamsRouteHandler)
WithOAuthHandlers(Func<ITurnContext,String[]>)

Configures OAuth handler functions for the route using the specified delegate.

(Inherited from RouteBuilderBase<TBuilder>)
WithOAuthHandlers(String)

Configures the builder to use one or more OAuth authentication handlers specified in a delimited string.

(Inherited from RouteBuilderBase<TBuilder>)
WithOAuthHandlers(String[])

Configures the route to use the specified OAuth authentication handlers.

(Inherited from RouteBuilderBase<TBuilder>)
WithOrderRank(UInt16)

Sets the order rank for the route and returns the current builder instance for further configuration.

(Inherited from RouteBuilderBase<TBuilder>)
WithSelector(RouteSelector)

Sets the route selector used to determine how incoming requests are matched to this route builder.

(Inherited from TypeRouteBuilderBase<TBuilder>)
WithType(Regex)

Configures the route to match activities whose type satisfies the specified regular expression pattern.

(Inherited from TypeRouteBuilderBase<TBuilder>)
WithType(String)

Configures the route to match activities of the specified type.

(Inherited from TypeRouteBuilderBase<TBuilder>)

Applies to