Compartilhar via


CloudSkillHandler.OnDeleteActivityAsync Método

Definição

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 o bot deve ter AudienceClaim, AppIdClaim e ServiceUrlClaim.

conversationId
String

ID da conversa.

activityId
String

activityId a ser excluída.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

tarefa para uma resposta de recurso.

Aplica-se a