TeamsFeedbackLoopHandler Delegate
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.
Represents a Teams-aware handler for feedback loop activities.
public delegate System.Threading.Tasks.Task TeamsFeedbackLoopHandler(ITeamsTurnContext turnContext, ITurnState turnState, FeedbackData feedbackData, CancellationToken cancellationToken);
type TeamsFeedbackLoopHandler = delegate of ITeamsTurnContext * ITurnState * FeedbackData * CancellationToken -> Task
Public Delegate Function TeamsFeedbackLoopHandler(turnContext As ITeamsTurnContext, turnState As ITurnState, feedbackData As FeedbackData, cancellationToken As CancellationToken) As Task
Parameters
- turnContext
- ITeamsTurnContext
A Teams-specific turn context for the current turn.
- turnState
- ITurnState
The turn state object that stores arbitrary data for this turn.
- feedbackData
- FeedbackData
The feedback loop data.
- cancellationToken
- CancellationToken
A cancellation token that can be used to observe cancellation.
Return Value
A task that represents the asynchronous handler operation.