CompiledScript.Delay Method

Definition

Adds programmed pause between steps in the monitoring script execution process.

See also Delay in a script

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
public void Delay(TimeSpan ts)
public void Delay(TimeSpan ts)
public void Delay(TimeSpan ts)

Parameters

 ts  TimeSpan

Examples

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Delay (“10sec”.ToDuration ());
Delay (“10sec”.ToDuration ());
Delay (“10sec”.ToDuration ());

Where ToDuration is an extension method to convert string to TimeSpan.