Exception that is thrown when a syntax error is detected on a YAML stream.
Documentation for this section has not yet been entered.
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326
See Also: Inherited members from YamlException.
⊟ Public Constructors
Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class. Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class. Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class. Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class. ⊟ Protected Constructors
Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class. ⊟ Public Properties
⊟ Public Methods
overrideGetObjectData (System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
⊟ SyntaxErrorException Constructor
Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class.
public SyntaxErrorException ()⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326
⊟ SyntaxErrorException Constructor
Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class.
public SyntaxErrorException (string message)⊟ Parameters
- message
- The message.
⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326
⊟ SyntaxErrorException Constructor
Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class.
protected SyntaxErrorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)⊟ Parameters
- info
- The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
⊟ Exceptions
Type Reason ArgumentNullException The info parameter is null. System.Runtime.Serialization.SerializationException The class name is null or Exception.HResult is zero (0). ⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326
⊟ SyntaxErrorException Constructor
Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class.
⊟ Parameters
- message
- The message.
- inner
- The inner.
⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326
⊟ SyntaxErrorException Constructor
Initializes a new instance of the YamlDotNet.Core.SyntaxErrorException class.
⊟ Parameters
- description
- The description.
- location
- The location where the exception has occured.
⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326
⊟ GetObjectData Method
When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)⊟ Parameters
- info
- The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
⊟ Exceptions
Type Reason ArgumentNullException The info parameter is a null reference (Nothing in Visual Basic). ⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326
⊟ Location Property
Gets the location where the exception has occured.
public Mark Location { get; }⊟ Value
The location.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326