Share via


SqlServerError Constructor (String, String, Int32, Int32, Int32, ErrorSeverity)

Initializes a new instance of the SqlServerError class.

Namespace:  Microsoft.Data.Schema.Sql
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
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
)

Parameters

.NET Framework Security

See Also

Reference

SqlServerError Class

SqlServerError Overload

Microsoft.Data.Schema.Sql Namespace