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 的類別中覆寫此方法,當兩個設計師之間建立連結時,才能提供處理。

適用於