CallAgencyAppletWithParam
The CallAgencyAppletWithParam
rule is similar to CallAgencyApplet
, but you can also send parameters to the agency method. As with CallAgencyApplet
, the first two parameters are the moniker of the agency applet and the name of the method that you want to call. After the name of the method, enter the parameters that you want to send to that method.
This example calls TestMethod
in IPS.AgencyTest.AgencyApplet
, and sends two parameters to TestMethod
:
CallAgencyAppletWithParam(IPS.AgencyTest.AgencyApplet, TestMethod, parameter1,
parameter2)