初始化 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。