StateMachineTemplateEndRegion Method |
Namespace: StaMa
Exception | Condition |
---|---|
StateMachineException | A syntax error was detected with this or the preceeding Region, EndRegion, State, EndState or Transition statements. |
This method must be used paired after a StateMachineTemplate.Region(String, Boolean) statement to conclude the definition of the contents of a Region.
The syntactic validation of the StateMachineTemplate is started within this statement, if this is the paired StateMachineTemplate.EndRegion statement for the top level Region instance within the StateMachineTemplate. If the validation is successful, the StateMachineTemplate instance is ready for creating StateMachine instances by invoking CreateStateMachine Overload.