Requests the job to shutdown. All active programs in the job will be ended.
Syntax
BegSr RequestShutdown() Access(*Public) Type(Void)
Exceptions
The following exceptions may be encountered during the execution of this method.
| Value | Condition |
|---|---|
MonarchJobEndedException |
The Monarch Job has ended in an exception. |
MonarchJobUnavailableException |
There is no Monarch Job available to accept commands. |
Example
BegSr btnShutDown_Click Access(*Private) Event(*this.btnShutDown.Click) DclSrParm *Object DclSrParm e System.EventArgs DclFld Command Type(ASNA.Monarch.Command) New(*Base.Context) Command.RequestShutdown() EndSr
Requirements
Namespace: ASNA.Monarch.WebDspF
Assembly: ASNA.Monarch.WebDspF.DLL
Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro
