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 命名空间