States Property

StateMachineWorkflowInstance.States Property

 

Gets a list of StateActivity classes in the StateMachineWorkflow.

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

public ReadOnlyCollection<StateActivity> States { get; }

Exception Condition
InvalidOperationException

The StateMachineWorkflow is a null reference (Nothing in Visual Basic).

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft