Search Results for

    Show / Hide Table of Contents

    Class LinqToDBException

    Defines the base class for the namespace exceptions.

    Inheritance
    object
    Exception
    LinqToDBException
    LinqToDBConvertException
    RetryLimitExceededException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    Namespace: LinqToDB
    Assembly: linq2db.dll
    Syntax
    [Serializable]
    public class LinqToDBException : Exception, ISerializable, _Exception
    Remarks

    This class is the base class for exceptions that may occur during execution of the namespace members.

    Constructors

    | Improve this Doc View Source

    LinqToDBException()

    Initializes a new instance of the LinqToDBException class.

    Declaration
    public LinqToDBException()
    Remarks

    This constructor initializes the Message property of the new instance such as "A Build Type exception has occurred.".

    | Improve this Doc View Source

    LinqToDBException(Exception)

    Initializes a new instance of the LinqToDBException class with the specified InnerException property.

    Declaration
    public LinqToDBException(Exception innerException)
    Parameters
    Type Name Description
    Exception innerException

    The InnerException, if any, that threw the current exception.

    Remarks

    This class is the base class for exceptions that may occur during execution of the namespace members.

    See Also
    InnerException
    | Improve this Doc View Source

    LinqToDBException(SerializationInfo, StreamingContext)

    Initializes a new instance of the LinqToDBException class with serialized data.

    Declaration
    protected LinqToDBException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The object that holds the serialized object data.

    StreamingContext context

    The contextual information about the source or destination.

    Remarks

    This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

    | Improve this Doc View Source

    LinqToDBException(string, Exception)

    Initializes a new instance of the LinqToDBException class with the specified error message and InnerException property.

    Declaration
    public LinqToDBException(string message, Exception innerException)
    Parameters
    Type Name Description
    string message

    The message to display to the client when the exception is thrown.

    Exception innerException

    The InnerException, if any, that threw the current exception.

    Remarks

    This class is the base class for exceptions that may occur during execution of the namespace members.

    See Also
    Message
    InnerException
    | Improve this Doc View Source

    LinqToDBException(string)

    Initializes a new instance of the LinqToDBException class with the specified error message.

    Declaration
    public LinqToDBException(string message)
    Parameters
    Type Name Description
    string message

    The message to display to the client when the exception is thrown.

    Remarks

    This class is the base class for exceptions that may occur during execution of the namespace members.

    See Also
    Message

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    Extension Methods

    Sql.IsDistinctFrom<T>(T, T)
    Sql.IsNotDistinctFrom<T>(T, T)
    Map.DeepCopy<T>(T)
    SqlExtensions.In<T>(T, T, T, T)
    SqlExtensions.In<T>(T, T, T)
    SqlExtensions.In<T>(T, params T[])
    SqlExtensions.In<T>(T, IEnumerable<T>)
    SqlExtensions.In<T>(T, IQueryable<T>)
    SqlExtensions.NotIn<T>(T, T, T, T)
    SqlExtensions.NotIn<T>(T, T, T)
    SqlExtensions.NotIn<T>(T, params T[])
    SqlExtensions.NotIn<T>(T, IEnumerable<T>)
    SqlExtensions.NotIn<T>(T, IQueryable<T>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2023 linq2db.com

    Generated by DocFX