QueryCloseExecution Event

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

Syntax

ControlName_QueryCloseExecution ( exec, runState, opt)

Applies To

ApplicationMgr

Purpose

Occurs when the Application Manager control is attempting to close an execution.

Remarks

Calls to the ApplicationMgr.Shutdown, ApplicationMgr.CloseExecution, and ApplicationMgr.CloseAllExecutions methods result in closing executions and calling this event.

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.

Parameters

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.


See Also

ApplicationMgr.CloseAllExecutions

ApplicationMgr.CloseExecution

ApplicationMgr.Shutdown

QueryCloseExecutionOptions

WAS THIS ARTICLE HELPFUL?

Not Helpful