IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

Error Event

This event is fired when the server detects an error.

Syntax

[VB.NET]
Public Event OnError As OnErrorHandler
[C#]
public event OnErrorHandler OnError;

public delegate void OnErrorHandler(object sender, SmppErrorEventArgs e);

class SmppErrorEventArgs : EventArgs {
  int ErrorCode {get;}
  string Description {get;}
}

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.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]