WebJob.AcceptCommands Method

Prepares a job to accept commands.

Syntax

BegFunc AcceptCommands Access(*Public) Type(*String) 

Parameters

None.

Return Value

String containing values being returned from the called function.

Remarks

The ASPX code behind can retrieve the parameter like this:

   Parameter = Session["MONARCH_CMDPARM"] *as *String
   Session["MONARCH_CMDPARM"] = *Nothing

Example

DclFld Result Type(*String)
Result = (monarchJob *asASNA.Monarch.WebJob).AcceptCommands())
If (Result = "Function Completed")
   Return
EndIf

Requirements

Namespace: ASNA.Monarch
Assembly: ASNA.VisualRPG.Runtime.DLL
Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro