Partager via


CloudSkillHandler.OnDeleteActivityAsync Méthode

Définition

API OnDeleteActivityAsync().

protected override System.Threading.Tasks.Task OnDeleteActivityAsync (System.Security.Claims.ClaimsIdentity claimsIdentity, string conversationId, string activityId, System.Threading.CancellationToken cancellationToken = default);
override this.OnDeleteActivityAsync : System.Security.Claims.ClaimsIdentity * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function OnDeleteActivityAsync (claimsIdentity As ClaimsIdentity, conversationId As String, activityId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Paramètres

claimsIdentity
ClaimsIdentity

claimsIdentity pour le bot, doit avoir AudienceClaim, AppIdClaim et ServiceUrlClaim.

conversationId
String

ID de conversation.

activityId
String

activityId à supprimer.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

tâche pour une réponse de ressource.

S’applique à