HandoffHandler 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.
Function for handling handoff activities.
public delegate System.Threading.Tasks.Task HandoffHandler(ITurnContext turnContext, ITurnState turnState, string continuation, CancellationToken cancellationToken);
type HandoffHandler = delegate of ITurnContext * ITurnState * string * CancellationToken -> Task
Public Delegate Function HandoffHandler(turnContext As ITurnContext, turnState As ITurnState, continuation As String, cancellationToken As CancellationToken) As Task
Parameters
- turnContext
- ITurnContext
A strongly-typed context object for this 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 by other objects or threads to receive notice of cancellation.
Return Value
A task that represents the work queued to execute.