ParseError Class

Represents the error that occurred during parsing.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ParseError
'Usage
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

The ParseError type exposes the following members.

Constructors

  Name Description
Public method ParseError Initializes a new instance of the ParseError class.

Top

Properties

  Name Description
Public property Column Gets the starting column of the AST that caused the error.
Public property Line Gets the starting line of the AST that caused the error.
Public property Message Gets the error message.
Public property Number Gets the number that corresponds to the type of error.
Public property Offset Gets the starting offset of the AST that caused the error.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.TransactSql.ScriptDom Namespace