Bagikan melalui


HandleExternalEventActivity.Cancel(ActivityExecutionContext) Metode

Definisi

Membatalkan penanganan acara.

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

Parameter

executionContext
ActivityExecutionContext

ActivityExecutionContext yang mewakili lingkungan eksekusi dari Activity.

Mengembalikan

Dari ActivityExecutionContextHandleExternalEventActivity di akhir operasi yang diminta.

Berlaku untuk

Lihat juga