SysAutoRun.parmExitWhenDone Method [AX 2012]
Gets or sets the ExitWhenDone parameter.
Syntax
public boolean parmExitWhenDone([boolean _exitWhenDone])
Run On
Client
Parameters
- _exitWhenDone
Type: boolean
The value to set; optional.
Return Value
Type: boolean
The value of the ExitWhenDone parameter.
Remarks
For a description of how to use an AutoRun configuration file, see SysAutoRun Class.
Examples
The following example shows part of a SysAutoRun configuration file. The exitWhenDone attribute is set to false. Microsoft Dynamics AX does not close when the configuration file has finished running.
<AxaptaAutoRun exitWhenDone="false" version="4.0"
logFile="D:\Axapta\AxaptaAutorun.log">
<CompileApplication crossReference="false" />
<LicenseInformation file="d:\axapta\license.txt" />
<Synchronize />
<UpdateCrossReference />
<XpoImport file=
"d:\axapta\setup\XPO\Logger\Enum_TestLogEntryType.xpo" />
<DataImport companyId="BVT" file="d:\axapta\basedata.dat" />
<Run type="class" name="RunMyTests" method="main" />
</AxaptaAutoRun>