Udostępnij przez


FileConsentHandler Delegate

Definition

Function for handling file consent card activities.

public delegate System.Threading.Tasks.Task FileConsentHandler(ITurnContext turnContext, ITurnState turnState, FileConsentCardResponse fileConsentCardResponse, CancellationToken cancellationToken);
type FileConsentHandler = delegate of ITurnContext * ITurnState * FileConsentCardResponse * CancellationToken -> Task
Public Delegate Function FileConsentHandler(turnContext As ITurnContext, turnState As ITurnState, fileConsentCardResponse As FileConsentCardResponse, 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.

fileConsentCardResponse
FileConsentCardResponse

The response representing the value of the invoke activity sent when the user acts on a file consent card.

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.

Applies to