WSException constructor

Constructs a new exception with the specified error message and error code.

Syntax
Visual Basic
Overloads Public Sub New( _
   ByVal msg As String, _
   ByVal errorCode As Integer _
)
C#
public WSException(
   string  msg,
   int errorCode
);
Parameters
  • msg   The error message.

  • errorCode   The error code.