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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.