संपादित करें

इसके माध्यम से साझा किया गया


FlowStep.Action Property

Definition

The Activity that the FlowStep executes.

public:
 property System::Activities::Activity ^ Action { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };
public System.Activities.Activity Action { get; set; }
member this.Action : System.Activities.Activity with get, set
Public Property Action As Activity

Property Value

The activity to be executed as part of this step of the flowchart.

Examples

The following code sample demonstrates using the Action property of a FlowStep node. This example is from the Fault Handling in a Flowchart Activity Using TryCatch sample.

FlowStep singleStep = new FlowStep
{
    Action = new Assign
    {
        DisplayName = "discount = 10.0",
        To = new OutArgument<double> (discount),
        Value = new InArgument<double> (10.0)
    },
    Next = flowDecision
};

Applies to