FeedbackRouteBuilder Class
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.
Provides a concrete builder for routing feedback loop invoke activities in an AgentApplication.
public class FeedbackRouteBuilder : Microsoft.Agents.Builder.App.FeedbackRouteBuilderBase<Microsoft.Agents.Builder.App.FeedbackRouteBuilder>
type FeedbackRouteBuilder = class
inherit FeedbackRouteBuilderBase<FeedbackRouteBuilder>
Public Class FeedbackRouteBuilder
Inherits FeedbackRouteBuilderBase(Of FeedbackRouteBuilder)
- Inheritance
-
FeedbackRouteBuilder
Remarks
Use FeedbackRouteBuilder when you need a feedback route that uses the standard FeedbackLoopHandler delegate. This type inherits the shared feedback loop selection behavior from FeedbackRouteBuilderBase<TBuilder>.
Constructors
| Name | Description |
|---|---|
| FeedbackRouteBuilder() | |
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) |
Returns the current builder instance. (Inherited from FeedbackRouteBuilderBase<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 FeedbackRouteBuilder class for constructing route definitions. |
| PreBuild() | (Inherited from RouteBuilderBase<TBuilder>) |
| WithChannelId(ChannelId) |
Sets the channel identifier for the route and returns the builder instance for method chaining. (Inherited from RouteBuilderBase<TBuilder>) |
| WithHandler(FeedbackLoopHandler) |
Configures the route to handle feedback actions using the specified feedback loop handler. |
| WithHandlerCore(FeedbackLoopHandler) |
Configures the route to handle feedback loop submissions using the specified handler. (Inherited from FeedbackRouteBuilderBase<TBuilder>) |
| 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 RouteBuilderBase<TBuilder>) |