Table of Contents

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

scriptName string

Name of the script to be triggered by the Scheduler Action.

checkSets bool

Indicates whether the read parameter will be checked for a new value after a SET command (true). Otherwise false.

runAsync bool

Indicates whether the code should wait for the script to finish before continuing (true). Otherwise false.

inputScriptParameters List<AutomationScriptInputParameter>

List of input parameters for the automation script.

automationProtocolInfos AutomationProtocolInfo[]

Array of protocol information objects used for linking elements to script dummies.

Exceptions

ArgumentException

Thrown if scriptName is null or whitespace.

ArgumentNullException

Thrown if inputScriptParameters is null.