|
StateMachineTryChangeState Method
|
Attempts to change the state of this machine from to .
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
Syntaxpublic bool TryChangeState(
int prevState,
int nextState
)
public:
bool TryChangeState(
int prevState,
int nextState
)
member TryChangeState :
prevState : int *
nextState : int -> bool
function TryChangeState(prevState, nextState);
View SourceParameters
- prevState Int32
- The state to change from
- nextState Int32
- The state to change to
Return Value
BooleanTrue if the state changed from the previous state to the next state.
False if unsuccessful.
See Also