共用方式為


ParseError 類別

Represents the error that occurred during parsing.

繼承階層

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.ParseError

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class ParseError
'用途
Dim instance As ParseError
[SerializableAttribute]
public sealed class ParseError
[SerializableAttribute]
public ref class ParseError sealed
[<SealedAttribute>]
[<SerializableAttribute>]
type ParseError =  class end
public final class ParseError

ParseError 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ParseError Initializes a new instance of the ParseError class.

上層

屬性

  名稱 說明
公用屬性 Column Gets the starting column of the AST that caused the error.
公用屬性 Line Gets the starting line of the AST that caused the error.
公用屬性 Message Gets the error message.
公用屬性 Number Gets the number that corresponds to the type of error.
公用屬性 Offset Gets the starting offset of the AST that caused the error.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間