CompositeActivity.OnActivityChangeAdd 方法

定义

在添加活动时调用。

protected public:
 virtual void OnActivityChangeAdd(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext, System::Workflow::ComponentModel::Activity ^ addedActivity);
protected internal virtual void OnActivityChangeAdd (System.Workflow.ComponentModel.ActivityExecutionContext executionContext, System.Workflow.ComponentModel.Activity addedActivity);
abstract member OnActivityChangeAdd : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.Activity -> unit
override this.OnActivityChangeAdd : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.Activity -> unit
Protected Friend Overridable Sub OnActivityChangeAdd (executionContext As ActivityExecutionContext, addedActivity As Activity)

参数

executionContext
ActivityExecutionContext

指定的 ActivityExecutionContext

addedActivity
Activity

指定的 Activity

例外

executionContext 为空引用(在 Visual Basic 中为 Nothing)。

  • 或 -

addedActivity 为空引用 (Nothing)。

适用于