Show / Hide Table of Contents

    Class ParseException

    Represents errors that occur while parsing dynamic linq string expressions.

    Inheritance
    Object
    Exception
    ParseException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.MemberwiseClone()
    Namespace: System.Linq.Dynamic.Core.Exceptions
    Assembly: System.Linq.Dynamic.Core.dll
    Syntax
    [Serializable]
    public sealed class ParseException : Exception, ISerializable, _Exception

    Constructors

    | Improve this Doc View Source

    ParseException(String, Int32)

    Initializes a new instance of the ParseException class with a specified error message and position.

    Declaration
    public ParseException(string message, int position)
    Parameters
    Type Name Description
    String message

    The message that describes the error.

    Int32 position

    The location in the parsed string that produced the ParseException

    Properties

    | Improve this Doc View Source

    Position

    The location in the parsed string that produced the ParseException.

    Declaration
    public int Position { get; }
    Property Value
    Type Description
    Int32

    Methods

    | Improve this Doc View Source

    GetObjectData(SerializationInfo, StreamingContext)

    When overridden in a derived class, sets the SerializationInfo with information about the exception.

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    Overrides
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    | Improve this Doc View Source

    ToString()

    Creates and returns a string representation of the current exception.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string representation of the current exception.

    Overrides
    Exception.ToString()

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX