ApplicationMgr.GetTerminationState
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
ApplicationMgr.GetTerminationState
Syntax
ApplicationMgr.GetTerminationState( exec)
Return Value
Use the following constants with this data type:
- ExecTermState_Aborting –(Value: 4) TestStand is aborting the running execution.
- ExecTermState_KillingThreads –(Value: 5) TestStand is ending the threads in the execution.
- ExecTermState_Normal –(Value: 1) The execution is not terminating.
- ExecTermState_Terminating –(Value: 2) TestStand is terminating the running execution.
- ExecTermState_TerminatingInteractive –(Value: 3) TestStand is terminating the running interactive execution.
Purpose
Returns the termination state of an execution.
Remarks
The value obtained from this method does not necessarily correspond to the value obtained from the Execution.GetStates method. The Execution.GetStates method returns the instantaneous state of the execution. This method returns the current state that the TestStand User Interface (UI) Controls display.
Parameters
exec As Execution
[In] Specifies the execution on which to operate.