Some Server Events are designed to display messages to the user based on a return value. For the other server events a user message can be displayed by throwing the following exception method.
WrUserMessage(string messageOrId, wrUserMessageType Type)
Description |
Displays a message to the user. |
Remarks |
wrUserMessageType can either be Text or Id. This requires a reference to WebReports.Api.Common |
Example |
//OnWebServiceExecuteEnd, inspect the returned value and throw a |
NOTE. This cannot be used for the Events OnConfigLoadStart or OnConfigLoadEnd.