Class LinqToDBConvertException
Defines the base class for the namespace exceptions.
Namespace: LinqToDB.Common
Assembly: linq2db.dll
Syntax
public class LinqToDBConvertException : LinqToDBException
Remarks
This class is the base class for exceptions that may occur during execution of the namespace members.
Constructors
| Improve this Doc View SourceLinqToDBConvertException()
Initializes a new instance of the LinqToDBConvertException class.
Declaration
public LinqToDBConvertException()
Remarks
This constructor initializes the
LinqToDBConvertException(Exception)
Initializes a new instance of the LinqToDBConvertException class with the specified InnerException property.
Declaration
public LinqToDBConvertException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
Exception | innerException | The InnerException, if any, that threw the current exception. |
LinqToDBConvertException(SerializationInfo, StreamingContext)
Initializes a new instance of the LinqToDBConvertException class with serialized data.
Declaration
protected LinqToDBConvertException(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.
LinqToDBConvertException(String)
Initializes a new instance of the LinqToDBConvertException class with the specified error message.
Declaration
public LinqToDBConvertException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to display to the client when the exception is thrown. |
LinqToDBConvertException(String, Exception)
Initializes a new instance of the LinqToDBConvertException class with the specified error message and InnerException property.
Declaration
public LinqToDBConvertException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.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. |
Properties
| Improve this Doc View SourceColumnName
Gets name of misconfigured column, which caused exception.
Declaration
public string? ColumnName { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |