Condividi tramite


SkillHandler.OnDeleteActivityAsync Metodo

Definizione

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

Parametri

claimsIdentity
ClaimsIdentity

claimsIdentity per il bot deve avere AudienceClaim, AppIdClaim e ServiceUrlClaim.

conversationId
String

ID conversazione.

activityId
String

activityId da eliminare.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

attività per una risposta alla risorsa.

Si applica a