TypeConverterException Class
Represents errors that occur while reading a CSV file.
Namespace
CsvHelper.TypeConversion
Base Types
graph BT Type-->Base0["CsvHelperException"] click Base0 "/CsvHelper/api/CsvHelper/CsvHelperException" Base0-->Base1["Exception"] Type["TypeConverterException"] class Type type-node

Syntax

[Serializable]
public class TypeConverterException : CsvHelperException

Attributes

Type Description
Serializable

Constructors

Name Summary
TypeConverterException(ITypeConverter, MemberMapData, object, CsvContext, string, Exception) Initializes a new instance of the TypeConverterException class with a specified error message and a reference to the inner exception that is the cause of this exception.
TypeConverterException(ITypeConverter, MemberMapData, object, CsvContext, string) Initializes a new instance of the TypeConverterException class with a specified error message.
TypeConverterException(ITypeConverter, MemberMapData, object, CsvContext) Initializes a new instance of the TypeConverterException class.
TypeConverterException(ITypeConverter, MemberMapData, string, CsvContext, string, Exception) Initializes a new instance of the TypeConverterException class with a specified error message and a reference to the inner exception that is the cause of this exception.
TypeConverterException(ITypeConverter, MemberMapData, string, CsvContext, string) Initializes a new instance of the TypeConverterException class with a specified error message.
TypeConverterException(ITypeConverter, MemberMapData, string, CsvContext) Initializes a new instance of the TypeConverterException class.

Properties

Name Property Type Summary
Context CsvContext
Gets the context.
Inherited from CsvHelperException
MemberMapData MemberMapData
The member map data used in ConvertFromString and ConvertToString.
Text string
The text used in ConvertFromString.
TypeConverter ITypeConverter
The type converter.
Value object
The value used in ConvertToString.