Method ShowProgress
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
ShowProgress(string)
Displays a progress message during the execution of an interactive Automation script.
public void ShowProgress(string uiData)
Parameters
uiData
stringThe UI data.
Examples
string progress = "Session is successfully booked.";
engine.ShowProgress(progress);
Remarks
ShowProgress displays a message in a dialog with the name of the script as title. If you want the dialog to have a custom title you can use the UIBuilder:
UIBuilder uibDialogBox = new UIBuilder();
uibDialogBox.Title = "My custom title";
uibDialogBox.Append("Session is successfully booked.");
engine.ShowUI(uibDialogBox);
ShowUI(string)
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.