SqlServerError 构造函数 (String, String, Int32, Int32, Int32, ErrorSeverity)

初始化 SqlServerError 类的新实例。

命名空间:  Microsoft.Data.Schema.Sql
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)

语法

声明
Public Sub New ( _
    message As String, _
    document As String, _
    line As Integer, _
    column As Integer, _
    errorCode As Integer, _
    severity As ErrorSeverity _
)
public SqlServerError(
    string message,
    string document,
    int line,
    int column,
    int errorCode,
    ErrorSeverity severity
)
public:
SqlServerError(
    String^ message, 
    String^ document, 
    int line, 
    int column, 
    int errorCode, 
    ErrorSeverity severity
)
new : 
        message:string * 
        document:string * 
        line:int * 
        column:int * 
        errorCode:int * 
        severity:ErrorSeverity -> SqlServerError
public function SqlServerError(
    message : String, 
    document : String, 
    line : int, 
    column : int, 
    errorCode : int, 
    severity : ErrorSeverity
)

参数

.NET Framework 安全性

请参见

参考

SqlServerError 类

SqlServerError 重载

Microsoft.Data.Schema.Sql 命名空间