Bagikan melalui


StateActivity.Cancel(ActivityExecutionContext) Metode

Definisi

Membatalkan eksekusi StateActivity.

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 untuk aktivitas.

Mengembalikan

Status saat ini dari Activity dalam instans alur kerja yang sedang berjalan.

Berlaku untuk

Lihat juga