ActivityDesigner.OnConnected(ConnectionPoint, ConnectionPoint) Método

Definición

Notifica a ActivityDesigner cuando una conexión se establece entre dos puntos de conexión.Notifies the ActivityDesigner when a connection is established between two connection points.

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)

Parámetros

source
ConnectionPoint

El ConnectionPoint de origen en el diseñador de actividad actual.The source ConnectionPoint on the current activity designer.

target
ConnectionPoint

El ConnectionPoint de destino en el diseñador de actividad al que conectar.The target ConnectionPoint on the activity designer to connect to.

Implementaciones

System.Workflow.ComponentModel.Design.IConnectableDesigner.OnConnected(System.Workflow.ComponentModel.Design.ConnectionPoint,System.Workflow.ComponentModel.Design.ConnectionPoint)

Comentarios

OnConnected no tiene comportamiento predeterminado.OnConnected has no default behavior. Debe invalidar este método en una clase que deriva de ActivityDesigner para proporcionar el procesamiento cuando una conexión se realiza entre dos diseñadores.You must override this method in a class that derives from ActivityDesigner to provide processing when a connection is made between two designers.

Se aplica a