Class LinqToDBConvertException
Defines the base class for the namespace exceptions.
[Serializable]
public class LinqToDBConvertException : LinqToDBException, ISerializable, _Exception
- Inheritance
-
LinqToDBConvertException
- Implements
- Inherited Members
- Extension Methods
Remarks
This class is the base class for exceptions that may occur during execution of the namespace members.
Constructors
LinqToDBConvertException()
Initializes a new instance of the LinqToDBConvertException class.
public LinqToDBConvertException()
Remarks
This constructor initializes the Message property of the new instance such as "A Build Type exception has occurred."
LinqToDBConvertException(Exception)
Initializes a new instance of the LinqToDBConvertException class with the specified InnerException property.
public LinqToDBConvertException(Exception innerException)
Parameters
innerException
ExceptionThe InnerException, if any, that threw the current exception.
- See Also
LinqToDBConvertException(SerializationInfo, StreamingContext)
Initializes a new instance of the LinqToDBConvertException class with serialized data.
protected LinqToDBConvertException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe object that holds the serialized object data.
context
StreamingContextThe contextual information about the source or destination.
Remarks
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
LinqToDBConvertException(string)
Initializes a new instance of the LinqToDBConvertException class with the specified error message.
public LinqToDBConvertException(string message)
Parameters
message
stringThe message to display to the client when the exception is thrown.
- See Also
LinqToDBConvertException(string, Exception)
Initializes a new instance of the LinqToDBConvertException class with the specified error message and InnerException property.
public LinqToDBConvertException(string message, Exception innerException)
Parameters
message
stringThe message to display to the client when the exception is thrown.
innerException
ExceptionThe InnerException, if any, that threw the current exception.
- See Also
Properties
ColumnName
Gets name of misconfigured column, which caused exception.
public string? ColumnName { get; }