Error Event
This event is fired when the server detects an error.
Syntax
typedef void __fastcall (__closure *TipwSMPPErrorEvent)(System::TObject* Sender, TipwSMPPErrorEventParams *e);__property TipwSMPPErrorEvent OnError = {read=FOnError, write=FOnError};
typedef struct {
int ErrorCode;
String Description;
} TipwSMPPErrorEventParams;
Remarks
If the server sends an error not related to a command sent from the component, the component will fire an Error event containing information related to the error.
ErrorCode will contain the code sent by the server, and Description will contain a standard interpretation of that code.