Constructor AutomationScriptAction
- Namespace
- Skyline.DataMiner.Core.Scheduler.Automation
- Assembly
- Skyline.DataMiner.Core.Scheduler.Automation.dll
AutomationScriptAction(string, bool, bool, List<AutomationScriptInputParameter>, AutomationProtocolInfo[])
Initializes a new instance of the AutomationScriptAction class.
public AutomationScriptAction(string scriptName, bool checkSets, bool runAsync, List<AutomationScriptInputParameter> inputScriptParameters, AutomationProtocolInfo[] automationProtocolInfos)
Parameters
scriptNamestringName of the script to be triggered by the Scheduler Action.
checkSetsboolIndicates whether the read parameter will be checked for a new value after a SET command (true). Otherwise false.
runAsyncboolIndicates whether the code should wait for the script to finish before continuing (true). Otherwise false.
inputScriptParametersList<AutomationScriptInputParameter>List of input parameters for the automation script.
automationProtocolInfosAutomationProtocolInfo[]Array of protocol information objects used for linking elements to script dummies.
Exceptions
- ArgumentException
Thrown if
scriptNameis null or whitespace.- ArgumentNullException
Thrown if
inputScriptParametersis null.