InterpretationError Constructor

Initializes a new instance of the InterpretationError class.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    errorCode As Integer, _
    severity As ErrorSeverity, _
    errorType As InterpretationError..::..InterpretationErrorType, _
    sqlFragment As TSqlFragment, _
    parseErrors As List(Of ParseError), _
    argumentName As String _
)
'Usage
Dim message As String
Dim errorCode As Integer
Dim severity As ErrorSeverity
Dim errorType As InterpretationError..::..InterpretationErrorType
Dim sqlFragment As TSqlFragment
Dim parseErrors As List(Of ParseError)
Dim argumentName As String

Dim instance As New InterpretationError(message, _
    errorCode, severity, errorType, sqlFragment, _
    parseErrors, argumentName)
public InterpretationError(
    string message,
    int errorCode,
    ErrorSeverity severity,
    InterpretationError..::..InterpretationErrorType errorType,
    TSqlFragment sqlFragment,
    List<ParseError> parseErrors,
    string argumentName
)
public:
InterpretationError(
    String^ message, 
    int errorCode, 
    ErrorSeverity severity, 
    InterpretationError..::..InterpretationErrorType errorType, 
    TSqlFragment^ sqlFragment, 
    List<ParseError^>^ parseErrors, 
    String^ argumentName
)
public function InterpretationError(
    message : String, 
    errorCode : int, 
    severity : ErrorSeverity, 
    errorType : InterpretationError..::..InterpretationErrorType, 
    sqlFragment : TSqlFragment, 
    parseErrors : List<ParseError>, 
    argumentName : String
)
new : 
        message:string * 
        errorCode:int * 
        severity:ErrorSeverity * 
        errorType:InterpretationError..::..InterpretationErrorType * 
        sqlFragment:TSqlFragment * 
        parseErrors:List<ParseError> * 
        argumentName:string -> InterpretationError

Parameters

  • argumentName
    Type: System.String
    The argument name associated with the error

.NET Framework Security

See Also

Reference

InterpretationError Class

InterpretationError Members

Microsoft.Data.Schema.Sql.SchemaModel.SqlServer Namespace