WebexAdapter.UpdateActivityAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Méthode standard de l’adaptateur BotBuilder pour mettre à jour un message précédent.
public override System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse> UpdateActivityAsync(Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Schema.Activity activity, System.Threading.CancellationToken cancellationToken);
override this.UpdateActivityAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.Activity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse>
Public Overrides Function UpdateActivityAsync (turnContext As ITurnContext, activity As Activity, cancellationToken As CancellationToken) As Task(Of ResourceResponse)
Paramètres
- turnContext
- ITurnContext
TurnContext représentant le message et l’environnement entrants actuels.
- activity
- Activity
Une activité à renvoyer à l’API de messagerie.
- cancellationToken
- CancellationToken
Un jeton d’annulation pour la tâche.
Retours
Un Task représentant l’opération asynchrone.