status Property
Returns a status value indicating the success or failure of the most recent message operation. Read-only.
statusVar = smex.status
Remarks
When a smex message is delivered successfully, the status property is set to zero. A non-zero value indicates that an error has occurred. The following table shows possible errors and their status values:
Value | Description |
---|---|
0 | Communication occurred normally. No errors were encountered. |
-1 | A time-out occurred, that is, the time specified by the timer attribute has elapsed and there has been no successful communications with the platform. |
-2 | Communication with the platform cannot be established or has been interrupted. |
Events that set the status property include onreceive, ontimeout, and onerror.
See Also
smex Element | onerror Event | onreceive Event | ontimeout Event