O365ConnectorCardActionHandler 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 O365 Connector Card Action activities.
public delegate System.Threading.Tasks.Task O365ConnectorCardActionHandler(ITurnContext turnContext, ITurnState turnState, O365ConnectorCardActionQuery query, CancellationToken cancellationToken);
type O365ConnectorCardActionHandler = delegate of ITurnContext * ITurnState * O365ConnectorCardActionQuery * CancellationToken -> Task
Public Delegate Function O365ConnectorCardActionHandler(turnContext As ITurnContext, turnState As ITurnState, query As O365ConnectorCardActionQuery, 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.
The O365 connector card HttpPOST invoke query.
- 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.