Bagikan melalui


SequenceActivity.Cancel(ActivityExecutionContext) Metode

Definisi

Membatalkan eksekusi aktivitas.

protected:
 override System::Workflow::ComponentModel::ActivityExecutionStatus Cancel(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext);
protected override System.Workflow.ComponentModel.ActivityExecutionStatus Cancel (System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
override this.Cancel : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Overrides Function Cancel (executionContext As ActivityExecutionContext) As ActivityExecutionStatus

Parameter

executionContext
ActivityExecutionContext

Konteks eksekusi aktivitas.

Mengembalikan

Aktivitas ActivityExecutionStatus setelah membatalkan eksekusi.

Berlaku untuk

Lihat juga