FlowStep.Action Property
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.
public:
property System::Activities::Activity ^ Action { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };
C#
public System.Activities.Activity Action { get; set; }
member this.Action : System.Activities.Activity with get, set
Public Property Action As Activity
The activity to be executed as part of this step of the flowchart.
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.
C#
FlowStep singleStep = new FlowStep
{
Action = new Assign
{
DisplayName = "discount = 10.0",
To = new OutArgument<double> (discount),
Value = new InArgument<double> (10.0)
},
Next = flowDecision
};
Product | Versies |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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.
Feedback over .NET
.NET is een opensourceproject. Selecteer een koppeling om feedback te geven: