StateMachineTemplateRegion Method |
Namespace: StaMa
Exception | Condition |
---|---|
ArgumentNullException | The initialStateName is null or empty. |
StateMachineException | A syntax error was detected with this or the preceeding Region, EndRegion, State, EndState or Transition statements. |
This method must be used paired with an StateMachineTemplate.EndRegion statement.
Each pair of enclosed StateMachineTemplate.State Overload ... EndState statements will add a State to the Region.