|NI TestStand 2014 Help|
|NI TestStand 2014 SP1 Help|
|TestStand 2016 Help|
|TestStand 2016 SP1 Help|
|TestStand 2017 Help|
ControlName_QueryCloseExecution ( exec, runState, opt)
Occurs when the Application Manager control is attempting to close an execution.
You can use this event to inform the user that an execution is closing and to allow the user to confirm that this is the desired action.
exec As Execution
[In] Specifies the execution about to be closed.
runState As ExecutionRunStates
[In] Specifies the run state of the execution.
opt As QueryCloseExecutionOptions
[In/Out] Specifies to cancel the closing of the execution; automatically close, abort, or terminate the running execution; or prompt the user for action. Refer to the QueryCloseExecutionOptions enumeration for more information about options for closing executions.