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

Initializes a new instance of the SqlServerError class.

Namespace:  Microsoft.Data.Schema.Sql.Common
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 _
)
'Usage
Dim message As String
Dim document As String
Dim line As Integer
Dim column As Integer
Dim errorCode As Integer
Dim severity As ErrorSeverity

Dim instance As New SqlServerError(message, _
    document, line, column, errorCode, _
    severity)
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
)
public function SqlServerError(
    message : String, 
    document : String, 
    line : int, 
    column : int, 
    errorCode : int, 
    severity : ErrorSeverity
)
new : 
        message:string * 
        document:string * 
        line:int * 
        column:int * 
        errorCode:int * 
        severity:ErrorSeverity -> SqlServerError

Parameters

.NET Framework Security

See Also

Reference

SqlServerError Class

SqlServerError Members

SqlServerError Overload

Microsoft.Data.Schema.Sql.Common Namespace