Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere .NET API 参考 » 用于 Web 服务的 QAnywhere .NET (.NET 2.0) » WSException 类

 

WSException 构造函数

使用指定的错误消息和错误代码构造新异常。

语法
Visual Basic
Overloads Public Sub New( _
   ByVal msg As String, _
   ByVal errorCode As Integer _
)
C#
public WSException(
   string  msg,
   int errorCode
);
参数
  • msg   错误消息。

  • errorCode   错误代码。