Language

MessageUpdateHandler Delegate

Definition

Delegate for handling message update activities.

public delegate System.Threading.Tasks.Task MessageUpdateHandler(Context<MessageUpdateActivity> context, CancellationToken cancellationToken = default);
type MessageUpdateHandler = delegate of Context<MessageUpdateActivity> * CancellationToken -> Task
Public Delegate Function MessageUpdateHandler(context As Context(Of MessageUpdateActivity), Optional cancellationToken As CancellationToken = Nothing) As Task 

Parameters

context
Context<MessageUpdateActivity>

The context for the message update activity.

cancellationToken
CancellationToken

A cancellation token that can be used to cancel the operation.

Return Value

A task representing the asynchronous operation.

Applies to