BotFrameworkAdapter.DeleteActivityAsync(ITurnContext, ConversationReference, CancellationToken) 메서드

정의

대화에서 기존 작업을 삭제 합니다.Deletes an existing activity in the conversation.

public override System.Threading.Tasks.Task DeleteActivityAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Schema.ConversationReference reference, System.Threading.CancellationToken cancellationToken);
override this.DeleteActivityAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function DeleteActivityAsync (turnContext As ITurnContext, reference As ConversationReference, cancellationToken As CancellationToken) As Task

매개 변수

turnContext
ITurnContext

턴의 컨텍스트 개체입니다.The context object for the turn.

reference
ConversationReference

삭제할 활동에 대 한 대화 참조입니다.Conversation reference for the activity to delete.

cancellationToken
CancellationToken

취소 토큰입니다.Cancellation token.

반환

Task

실행 대기 중인 작업을 나타내는 작업입니다.A task that represents the work queued to execute.

설명

ActivityId대화 참조의는 삭제할 활동을 식별 합니다.The ActivityId of the conversation reference identifies the activity to delete.

적용 대상

추가 정보