共用方式為


InterpretationError 類別

表示轉譯特有錯誤的類別。

繼承階層架構

System.Object
  Microsoft.Data.Schema.DataSchemaError
    Microsoft.Data.Schema.Sql.SqlServerError
      Microsoft.Data.Schema.Sql.SchemaModel.InterpretationError

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Class InterpretationError _
    Inherits SqlServerError
[SerializableAttribute]
public class InterpretationError : SqlServerError
[SerializableAttribute]
public ref class InterpretationError : public SqlServerError
[<SerializableAttribute>]
type InterpretationError =  
    class
        inherit SqlServerError
    end
public class InterpretationError extends SqlServerError

InterpretationError 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 InterpretationError 初始化 InterpretationError 類別的新執行個體。

回頁首

屬性

  名稱 說明
公用屬性 ArgumentName 取得與錯誤關聯的引數名稱。
公用屬性 BuildErrorCode 取得這個錯誤的完整錯誤碼。 (繼承自 DataSchemaError)。
公用屬性 Column 取得發生錯誤的欄號。 (繼承自 DataSchemaError)。
公用屬性 Document 取得發生錯誤之文件的名稱。 (繼承自 DataSchemaError)。
公用屬性 ErrorCode 取得錯誤碼。 (繼承自 DataSchemaError)。
公用屬性 HelpKeyword 取得或設定關鍵字,以將錯誤與 Help 文件相關聯。 (繼承自 DataSchemaError)。
公用屬性 Line 取得發生錯誤之位置的行號。 (繼承自 DataSchemaError)。
公用屬性 Message 取得錯誤訊息。 (繼承自 DataSchemaError)。
公用屬性 ParseErrors 取得剖析器所產生錯誤的清單。
公用屬性 Prefix 取得錯誤的前置字元。 (繼承自 DataSchemaError)。
公用屬性 Severity 取得指派給錯誤的嚴重性。 (繼承自 DataSchemaError)。

回頁首

方法

  名稱 說明
公用方法 Equals 判斷指定的 Object 和目前的 Object 是否相等。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Microsoft.Data.Schema.Sql.SchemaModel 命名空間