Method ShowInformationMessage
ShowInformationMessage(string, string)
Shows a message to the user in a pop-up window.
void ShowInformationMessage(string message, string caption)
Parameters
message
stringThe message to be displayed.
caption
stringThe caption that will be displayed in the title bar of the pop-up window.
Examples
protocol.ShowInformationMessage("My message", "Caption");
Remarks
This only works in QActions that are directly triggered from a client with user interaction.
Example scenarios that are supported:
- Write parameter that triggers a QAction
- Context menu
Example scenarios that are not supported:
- Protocol.SetParameter or Protocol.CheckTrigger that starts a new QAction
- After Startup QAction
- A read parameter that was set using setter=true
The message will only be shown to the client triggering the QAction (even when there are multiple Cube sessions open on the same client and all are using the same credentials, the message will only be shown on the intended client).
Feature introduced in DataMiner version 8.5.2 (RN 8348).
ShowInformationMessage(string)
Shows a message to the user in a pop-up window.
void ShowInformationMessage(string message)
Parameters
message
stringThe message to be displayed.
Examples
protocol.ShowInformationMessage("My message");
Remarks
This only works in QActions that are directly triggered from a client with user interaction.
Example scenarios that are supported:
- Write parameter that triggers a QAction
- Context menu
Example scenarios that are not supported:
- Protocol.SetParameter or Protocol.CheckTrigger that starts a new QAction
- After Startup QAction
- A read parameter that was set using setter=true
The message will only be shown to the client triggering the QAction (even when there are multiple Cube sessions open on the same client and all are using the same credentials, the message will only be shown on the intended client).
Feature introduced in DataMiner version 8.5.2 (RN 8348).