ActivityDesigner.OnConnected(ConnectionPoint, ConnectionPoint) Metod

Definition

Meddelar ActivityDesigner när en anslutning upprättas mellan två anslutningspunkter.

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)

Parametrar

source
ConnectionPoint

Källanslutningspunkten i den aktuella aktivitetsdesignern.

target
ConnectionPoint

Målanslutningspunkten i aktivitetsdesignern som ska anslutas till.

Kommentarer

OnConnected har inget standardbeteende. Du måste åsidosätta den här metoden i en klass som härleds från ActivityDesigner för att tillhandahålla bearbetning när en anslutning görs mellan två designers.

Gäller för