다음을 통해 공유


Activity.Cancel(ActivityExecutionContext) 메서드

정의

현재 실행 중인 활동의 실행을 취소하기 위해 워크플로 런타임에서 호출됩니다.

protected public:
 virtual System::Workflow::ComponentModel::ActivityExecutionStatus Cancel(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext);
protected internal virtual System.Workflow.ComponentModel.ActivityExecutionStatus Cancel (System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
abstract member Cancel : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
override this.Cancel : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Friend Overridable Function Cancel (executionContext As ActivityExecutionContext) As ActivityExecutionStatus

매개 변수

executionContext
ActivityExecutionContext

취소할 인스턴스를 포함하는 ActivityExecutionContext입니다.

반환

ActivityExecutionStatus

활동이 Canceling 상태로 남아 있을지, Closed 상태로 전환될지 결정하는 작업 끝의 상태입니다.

적용 대상