ActivityDesigner.OnConnected(ConnectionPoint, ConnectionPoint) 方法

定义

通知在 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 在两个设计器之间建立连接时提供处理的类中重写此方法。

适用于