pMe | (Object) Reference to the PmaDataTable object where the event rises. |
---|---|
pEvent | (Object) Reference to object describing detailed information about the specific event. pEvent.Source - (Long) Source from which the event is triggered. Can have the following values: 0 - The event is triggered locally by the EndOfTransfer method. The pEvent.Error parameter is always 0. 10 - Data was written into this object by XML communication. For example in this object the ReadFromWeb method was called or the client (other PmaDataTable object) called its WriteToWeb method. 20 - Data was read from the object by XML communication. For example in this object the WriteToWeb method was called or the client (other PmaDataTable object) called its ReadFromWeb method or Web browser (Chrome, Firefox, Edge, InternetExplorer ...) read this XML data. pEvent.Error - (Long) The value of the transfer error: 0 - the transfer passed successfully 24 - transfer error - Web server is probably is not accessible 33 - software error 40 - operation (reading or writing) is disabled. On calling the method ReadFromWeb or WriteToWeb the parameter user or psw is probably set incorrectly. 61 - Web server cannot connect to client on the URL address 62 - Web server responded negatively (HTTP status is not 200=OK) 64 - received data cannot be saved (probably incompatible formats) 66 - the received message doesn't have the required format |
if (pEvent.Error)
Pm.Debug("Error onEndOfTransfer Source number=" + pEvent.Source + ", Error number=" + pEvent.Error);