Serializes the WebLoaderAlert for processing by the WebLoader component.
An XML string representing the WebLoaderAlert.
The WebLoader component will parse the XML string and create an alert box based on the string's contents.
C# sample
private string AlertException(System.Exception ex)
{
suite4.net.FormDatabase.WebLoaderAlert webLoaderAlert;
webLoaderAlert = new suite4.net.FormDatabase.WebLoaderAlert();
webLoaderAlert.Title = ex.Source;
webLoaderAlert.Message = ex.Message;
return webLoaderAlert.SerializeToSwfXml();
} // end private string AlertException(System.Exception ex)
Private Function AlertException(ByVal ex As System.Exception) As String
Dim webLoaderAlert As suite4.net.FormDataMyBase.WebLoaderAlert
webLoaderAlert = New suite4.net.FormDataMyBase.WebLoaderAlert()
webLoaderAlert.Title = ex.Source
webLoaderAlert.Message = ex.Message
Return webLoaderAlert.SerializeToSwfXml()
End Function
WebLoaderAlert Class | suite4.net.FormDatabase Namespace | WebLoaderAlert.SerializeToSwfXml Overload List