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

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULException 类

 

ULException 构造函数

使用给定的错误代码创建 ULException。

语法
Visual Basic
Public Sub New( _
   ByVal code As ULSQLCode, _
   ByVal s1 As String, _
   ByVal s2 As String, _
   ByVal s3 As String _
)
C#
public  ULException(
   ULSQLCode code,
   string  s1,
   string  s2,
   string  s3
);
参数
  • code   异常的代码。

  • s1   格式化消息的第一个字符串。

  • s2   格式化消息的第二个字符串。

  • s3   格式化消息的第三个字符串。

注释

对应于指定的 iAnywhere.Data.UltraLite.ULSQLCode 的消息字符串是从 iAnywhere.Data.UltraLite.resources 程序集中检索到的。按照语言的如下顺序搜索资源:CultureInfo.CurrentUICulture,然后 CultureInfo.CurrentCulture,最后是 "EN"。

另请参见