CodeActivity.ExecuteCode Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the CodeActivity starts.
public:
event EventHandler ^ ExecuteCode;
public event EventHandler ExecuteCode;
member this.ExecuteCode : EventHandler
Public Custom Event ExecuteCode As EventHandler
Event Type
Examples
The following code demonstrates how to use the ExecuteCode event. This code example is part of the Compensation SDK sample from the PurchaseOrder.cs file. For more information, see Using Compensation.
this.ReceiverOrder.Name = "ReceiverOrder";
this.ReceiverOrder.ExecuteCode += new System.EventHandler(this.ReceiveOrderHandler);
Me.ReceiverOrder.Name = "ReceiverOrder"
AddHandler Me.ReceiverOrder.ExecuteCode, AddressOf Me.ReceiveOrderHandler
Applies to
See also
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.