Error Event
This event is fired when the server sends a protocol error message.
Syntax
typedef struct { int ErrorCode; String Description; } TipqXMPPErrorEventParams; typedef void __fastcall (__closure *TipqXMPPErrorEvent)(System::TObject* Sender, TipqXMPPErrorEventParams *e); __property TipqXMPPErrorEvent OnError = { read=FOnError, write=FOnError };
Remarks
This is fired whenever there is a protocol error. ErrorCode will contain the error code string sent by the server. Description will contain the Xmpp component's interpretation of the code.