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 的類別中覆寫這個方法,以在兩個設計工具之間建立連線時提供處理。

適用於