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
- message
Type: System.String
The error message
- errorCode
Type: System.Int32
The error code
- severity
Type: Microsoft.Data.Schema.Common.ErrorSeverity
The error severity
- errorType
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.InterpretationError.InterpretationErrorType
The error type
- sqlFragment
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
The fragment
- parseErrors
Type: System.Collections.Generic.List<ParseError>
A list of the ParseErrors generated by the parser
- argumentName
Type: System.String
The argument name associated with the error
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.