Constructor AutomationScriptAction
- Namespace
- Skyline.DataMiner.Core.Scheduler.Automation
- Assembly
- Skyline.DataMiner.Core.Scheduler.Automation.dll
AutomationScriptAction(string, List<AutomationScriptInputParameter>, bool, bool)
Initializes a new instance of the AutomationScriptAction class.
public AutomationScriptAction(string scriptName, List<AutomationScriptInputParameter> inputScriptParameters, bool checkSets, bool runAsync)
Parameters
scriptName
stringName of the Script to be triggered by the Scheduler Action.
inputScriptParameters
List<AutomationScriptInputParameter>Input Script Parameters.
checkSets
boolIndicates whether the read parameter will be checked for a new value after a SET Command (true). Otherwise false.
runAsync
boolIndicates whether the code should wait for the Script to finish before continuing (true). Otherwise false.
Exceptions
- ArgumentException
Throw if the scriptName is null or whitespace.
- ArgumentNullException
Throw if the inputScriptParameters is null.