Freigeben über


ParseError-Klasse

Represents the error that occurred during parsing.

Vererbungshierarchie

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

Der ParseError-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ParseError Initializes a new instance of the ParseError class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Column Gets the starting column of the AST that caused the error.
Öffentliche Eigenschaft Line Gets the starting line of the AST that caused the error.
Öffentliche Eigenschaft Message Gets the error message.
Öffentliche Eigenschaft Number Gets the number that corresponds to the type of error.
Öffentliche Eigenschaft Offset Gets the starting offset of the AST that caused the error.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace