Export (0) Print
Expand All

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

ExceptionCondition
InvalidOperationException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft