InterpretationError 构造函数
初始化 InterpretationError 类的新实例。
命名空间: Microsoft.Data.Schema.Sql.SchemaModel
程序集: Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Public Sub New ( _
message As String, _
errorCode As Integer, _
severity As ErrorSeverity, _
sqlFragment As TSqlFragment, _
parseErrors As IList(Of ParseError), _
argumentName As String _
)
public InterpretationError(
string message,
int errorCode,
ErrorSeverity severity,
TSqlFragment sqlFragment,
IList<ParseError> parseErrors,
string argumentName
)
public:
InterpretationError(
String^ message,
int errorCode,
ErrorSeverity severity,
TSqlFragment^ sqlFragment,
IList<ParseError^>^ parseErrors,
String^ argumentName
)
new :
message:string *
errorCode:int *
severity:ErrorSeverity *
sqlFragment:TSqlFragment *
parseErrors:IList<ParseError> *
argumentName:string -> InterpretationError
public function InterpretationError(
message : String,
errorCode : int,
severity : ErrorSeverity,
sqlFragment : TSqlFragment,
parseErrors : IList<ParseError>,
argumentName : String
)
参数
- message
类型:System.String
- errorCode
类型:System.Int32
- severity
类型:Microsoft.Data.Schema.ErrorSeverity
- sqlFragment
类型:Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
- parseErrors
类型:System.Collections.Generic.IList<ParseError>
- argumentName
类型:System.String
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。