Error Event
This event is fired when the server sends a protocol error message.
Syntax
[VB.NET] Public Event OnError As OnErrorHandler
[C#] public event OnErrorHandler OnError; public delegate void OnErrorHandler(object sender, XmppErrorEventArgs e); class XmppErrorEventArgs : EventArgs { int ErrorCode {get;} string Description {get;} }
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.