Host.ShowMessage¶
Display a modal message box with an OK button.
When is this called?
Blocks until the user clicks OK. Also shown in HydroSym command-line mode, where it halts an unattended run.
C# Usage¶
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
title |
string |
Dialog title. Defaults to the host application name (HydroSym or HydroMan). | |
message |
string |
✅ | Message text to display. |
level |
string |
Message level: info (default), warning, error. Lowercase only; any other value shows an info icon. |
Response¶
This method returns no data on success.
JSON¶
The SDK serializes these JSON bodies for you.