QueryCloseExecution Event

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

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