ActivityDesigner.OnConnected(ConnectionPoint, ConnectionPoint) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通知在 ActivityDesigner 两个连接点之间建立连接时。
protected:
virtual void OnConnected(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected virtual void OnConnected(System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member OnConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
override this.OnConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
Protected Overridable Sub OnConnected (source As ConnectionPoint, target As ConnectionPoint)
参数
- source
- ConnectionPoint
当前活动设计器上的源 ConnectionPoint。
- target
- ConnectionPoint
要连接到的活动设计器上的目标 ConnectionPoint。
注解
OnConnected 没有默认行为。 必须在派生自 ActivityDesigner 在两个设计器之间建立连接时提供处理的类中重写此方法。