Method ShowUI
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
ShowUI(UIBuilder)
Displays a custom-made dialog box of an interactive Automation script.
UIResults ShowUI(UIBuilder uiBuilder)
Parameters
uiBuilder
UIBuilderThe UIBuilder instance representing a dialog box of an interactive automation script.
Returns
- UIResults
The UI result.
Examples
UIBuilder uib = new UIBuilder();
...
// Add dialog box items to the dialog box
UIBlockDefinition blockButton = new UIBlockDefinition();
blockButton.Type = UIBlockType.Button;
...
engine.ShowUI(uib);
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.
- DataMinerException
Show UI failed.
ShowUI(string, bool)
Displays a custom-made dialog box of an interactive Automation script.
UIResults ShowUI(string uiData, bool requireResponse)
Parameters
Returns
- UIResults
The UI result.
Examples
UIBuilder uib = new UIBuilder();
...
// Add dialog box items to the dialog box
UIBlockDefinition blockButton = new UIBlockDefinition();
blockButton.Type = UIBlockType.Button;
...
engine.ShowUI(uib.ToString(), uib.RequireResponse);
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.
- DataMinerException
Show UI failed.
ShowUI(string)
Displays a custom-made dialog box of an interactive Automation script.
UIResults ShowUI(string uiData)
Parameters
uiData
stringThe UI data.
Returns
- UIResults
The UI result.
Examples
UIBuilder uib = new UIBuilder();
...
// Add dialog box items to the dialog box
UIBlockDefinition blockButton = new UIBlockDefinition();
blockButton.Type = UIBlockType.Button;
...
engine.ShowUI(uib.ToString());
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.
- DataMinerException
Show UI failed.