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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.