Freigeben über


SqlServerError-Konstruktor (String, String, Int32, Int32, Int32, ErrorSeverity)

Initialisiert eine neue Instanz der SqlServerError-Klasse.

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
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

SqlServerError Klasse

SqlServerError-Überladung

Microsoft.Data.Schema.Sql-Namespace