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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.