SkillHandler.OnDeleteActivityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
OnDeleteActivityAsync() API.
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
Parameters
- claimsIdentity
- ClaimsIdentity
claimsIdentity for the bot, should have AudienceClaim, AppIdClaim and ServiceUrlClaim.
- conversationId
- String
Conversation ID.
- activityId
- String
activityId to delete.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
task for a resource response.