ActivityDesigner.OnConnected(ConnectionPoint, ConnectionPoint) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Avertit le ActivityDesigner moment où une connexion est établie entre deux points de connexion.
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)
Paramètres
- source
- ConnectionPoint
ConnectionPoint source sur le concepteur d’activités actuel.
- target
- ConnectionPoint
Point de connexion cible sur le concepteur d’activités auquel se connecter.
Remarques
OnConnected n’a aucun comportement par défaut. Vous devez remplacer cette méthode dans une classe qui dérive du ActivityDesigner traitement lorsqu’une connexion est établie entre deux concepteurs.