FlowStep Class

.NET Framework (current version)
 

A FlowNode element that executes a specified Action and has a Next pointer.

Namespace:   System.Activities.Statements
Assembly:  System.Activities (in System.Activities.dll)

System.Object
  System.Activities.Statements.FlowNode
    System.Activities.Statements.FlowStep

[ContentPropertyAttribute("Action")]
public sealed class FlowStep : FlowNode

NameDescription
System_CAPS_pubmethodFlowStep()

Returns a new instance of the FlowStep class.

NameDescription
System_CAPS_pubpropertyAction

The Activity that the FlowStep executes.

System_CAPS_pubpropertyNext

The next FlowNodein the flowchart to execute after executing the current FlowStep.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The following code sample demonstrates creating 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
};

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: