Language

TeamsHandoffHandler Delegate

Definition

Represents a Teams-aware handler for handoff activities.

public delegate System.Threading.Tasks.Task TeamsHandoffHandler(ITeamsTurnContext turnContext, ITurnState turnState, string continuation, CancellationToken cancellationToken);
type TeamsHandoffHandler = delegate of ITeamsTurnContext * ITurnState * string * CancellationToken -> Task
Public Delegate Function TeamsHandoffHandler(turnContext As ITeamsTurnContext, turnState As ITurnState, continuation As String, 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.

continuation
String

The continuation token.

cancellationToken
CancellationToken

A cancellation token that can be used to observe cancellation.

Return Value

A task that represents the asynchronous handler operation.

Applies to