Back to product page

ErrorCode property


Holds error code found in the message.

Type

Integer

Syntax

  • Basic
object.ErrorCode [= value]
The ErrorCode(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPMessage
valueA Integer value.

Remarks

When message is sent, it is possible that the message hasn't reached the recipient for some reason. If that happens, this property will hold the ErrorCode that occurred. Typical example of this is when your contact is not online. Server will return an error back to you.

Platforms

Windows