ChannelServiceHandler.OnDeleteActivityAsync(ClaimsIdentity, String, String, CancellationToken) 메서드

정의

OnDeleteActivityAsync () API.OnDeleteActivityAsync() API.

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

매개 변수

claimsIdentity
ClaimsIdentity

claimsIdentity에는 AudienceClaim, AppIdClaim 및 ServiceUrlClaim가 있어야 합니다.claimsIdentity for the bot, should have AudienceClaim, AppIdClaim and ServiceUrlClaim.

conversationId
String

대화 ID입니다.Conversation ID.

activityId
String

삭제할 활동 id입니다.activityId to delete.

cancellationToken
CancellationToken

취소 토큰입니다.The cancellation token.

반환

Task

리소스 응답에 대 한 작업입니다.task for a resource response.

설명

기존 작업을 삭제 하려면이 메서드를 재정의 합니다.Override this method to Delete an existing activity.

일부 채널에서는 기존 작업을 삭제할 수 있으며, 성공적으로 실행 되 면이 메서드는 지정 된 작업을 제거 합니다.Some channels allow you to delete an existing activity, and if successful this method will remove the specified activity.

적용 대상