IAppContextDisplayMessage Method (String, String, AlertDelivery, Int32, AlertAttrs) |
Registers a message for display on the next page rendering.
Note that this page message facility is built on top of the existing Alerts functionality. The message
information is stored in the xot_alerts table and delivered asynchronously via an AJAX call upon
the next page rendering.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax void DisplayMessage(
string subject,
string body,
AlertDelivery delivery = AlertDelivery.Default,
int autoCloseSecs = 0,
AlertAttrs attrs =
)
Sub DisplayMessage (
subject As String,
body As String,
Optional delivery As AlertDelivery = AlertDelivery.Default,
Optional autoCloseSecs As Integer = 0,
Optional attrs As AlertAttrs =
)
Parameters
- subject
- Type: SystemString
The message subject. - body
- Type: SystemString
The message body. - delivery (Optional)
- Type: NetQuarry.ServicesAlertDelivery
Optional delivery method. The default of 0 will use the system default delivery. - autoCloseSecs (Optional)
- Type: SystemInt32
Optional time, in seconds, after which the alert should close itself. The default of 0 will suppress auto-close. A value of -1 will use the system default auto-close. - attrs (Optional)
- Type: NetQuarry.ServicesAlertAttrs
Optional attributes describing the message and/or delivery.
Remarks See Also