Share via


Activity.Cancel(ActivityExecutionContext) Yöntem

Tanım

Şu anda yürütülmekte olan bir etkinliğin yürütülmesini iptal etmek için iş akışı çalışma zamanı tarafından çağrılır.

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

Parametreler

executionContext
ActivityExecutionContext

İptal ActivityExecutionContext edilen örneği içeren.

Döndürülenler

Etkinliğin iptal durumunda mı kaldığını yoksa kapalı duruma mı geçtiğini belirleyen işlemin sonundaki durum.

Şunlara uygulanır