Language

TeamsAppExtensions.OnTeamsFeedbackLoop Method

Definition

Registers a Teams feedback loop handler.

public static Microsoft.Agents.Builder.App.AgentApplication OnTeamsFeedbackLoop(this Microsoft.Agents.Builder.App.AgentApplication app, Microsoft.Agents.Extensions.MSTeams.App.TeamsFeedbackLoopHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default, bool isAgenticOnly = false);
static member OnTeamsFeedbackLoop : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Extensions.MSTeams.App.TeamsFeedbackLoopHandler * uint16 * string[] * bool -> Microsoft.Agents.Builder.App.AgentApplication
<Extension()>
Public Function OnTeamsFeedbackLoop (app As AgentApplication, handler As TeamsFeedbackLoopHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing, Optional isAgenticOnly As Boolean = false) As AgentApplication

Parameters

app
AgentApplication

The agent application to configure.

handler
TeamsFeedbackLoopHandler

The Teams feedback loop handler to invoke.

rank
UInt16

The route evaluation order. Lower values run first.

autoSignInHandlers
String[]

The OAuth sign-in handlers to associate with the route.

isAgenticOnly
Boolean

When true, the route only fires for agentic turns.

Returns

The configured agent application.

Applies to