Compartir a través de


CloudSkillHandler.OnDeleteActivityAsync Método

Definición

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

Parámetros

claimsIdentity
ClaimsIdentity

claimsIdentity para el bot, debe tener AudienceClaim, AppIdClaim y ServiceUrlClaim.

conversationId
String

Identificador de conversación.

activityId
String

activityId que se va a eliminar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

tarea para una respuesta de recursos.

Se aplica a