| StateMachineTraceDispatchTriggerEvent Property |
Gets or sets a callback that can be used for tracing the
StateMachine operation.
Namespace: StaMaAssembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax public StateMachineTraceDispatchTriggerEventEventHandler TraceDispatchTriggerEvent { get; set; }
Public Property TraceDispatchTriggerEvent As StateMachineTraceDispatchTriggerEventEventHandler
Get
Set
public:
property StateMachineTraceDispatchTriggerEventEventHandler^ TraceDispatchTriggerEvent {
StateMachineTraceDispatchTriggerEventEventHandler^ get ();
void set (StateMachineTraceDispatchTriggerEventEventHandler^ value);
}
member TraceDispatchTriggerEvent : StateMachineTraceDispatchTriggerEventEventHandler with get, set
Property Value
Type:
StateMachineTraceDispatchTriggerEventEventHandlerRemarks
The delegate will be called whenever the event queue dispatches an event to the state machine.
The StateMachine passes the following parameters to the callback:
-
The StateMachine instance that dispatches the event.
-
The Object that represents the trigger event that was sent to the state machine.
-
The EventArgs instance that carries additional parameters accompanying the trigger event.
The intended purpose of this callback is purely for tracing or analysis purposes.
The callback is expected to not interfere with the state machine excution.
Actions within a state machine shall solely be executed through the EntryAction,
ExitAction and TransitionAction.
See Also