Click or drag to resize
StaMaStateMachineTemplateCreateStateConfiguration Method (String)
Creates a new StateConfiguration instance from a state name.

Namespace: StaMa
Assembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax
public StateConfiguration CreateStateConfiguration(
	string stateName
)

Parameters

stateName
Type: SystemString
A String that references a State within this StateMachineTemplate.

Return Value

Type: StateConfiguration
A StateConfiguration instance.
Exceptions
ExceptionCondition
ArgumentNullException The stateName is null or empty.
InvalidOperationException A StateConfiguration instance cannot be created when the StateMachineTemplate is not complete. The Root property is not initialized to a valid Region instance.
ArgumentOutOfRangeException The State instance provided through stateName could not be found.
See Also