Muokkaa

Jaa


FlowStep Class

Definition

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

public ref class FlowStep sealed : System::Activities::Statements::FlowNode
[System.Windows.Markup.ContentProperty("Action")]
public sealed class FlowStep : System.Activities.Statements.FlowNode
[<System.Windows.Markup.ContentProperty("Action")>]
type FlowStep = class
    inherit FlowNode
Public NotInheritable Class FlowStep
Inherits FlowNode
Inheritance
FlowStep
Attributes

Examples

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
};

Constructors

FlowStep()

Returns a new instance of the FlowStep class.

Properties

Action

The Activity that the FlowStep executes.

Next

The next FlowNode in the flowchart to execute after executing the current FlowStep.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to