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 WebReports.Api.Common.WrUserMessage(string, wrUSerMessageType)
method.
WarningThis method can be used for all server events except OnConfigLoadStart, OnConfigLoadEnd and OnExceptionThrown.
WrUserMessage(string messageOrId, wrUserMessageType Type)
Description | Displays a message to the user. |
---|---|
Arguments |
|
Example |
//OnWebServiceExecuteEnd, inspect the returned value and throw a |