Click or drag to resize
StaMaStateMachineTemplateEndRegion Method
Completes the definition of a Region's States.

Namespace: StaMa
Assembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax
public void EndRegion()
Exceptions
ExceptionCondition
StateMachineException A syntax error was detected with this or the preceeding Region, EndRegion, State, EndState or Transition statements.
Remarks

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.

See Also