Class CsvHelperException
- Namespace
- CsvHelper
- Assembly
- CsvHelper.dll
Represents errors that occur in CsvHelper.
public class CsvHelperException : Exception, ISerializable
- Inheritance
-
CsvHelperException
- Implements
- Derived
- Inherited Members
Constructors
CsvHelperException()
Initializes a new instance of the CsvHelperException class.
protected CsvHelperException()
CsvHelperException(CsvContext)
Initializes a new instance of the CsvHelperException class.
public CsvHelperException(CsvContext context)
Parameters
contextCsvContext
CsvHelperException(CsvContext, string)
Initializes a new instance of the CsvHelperException class with a specified error message.
public CsvHelperException(CsvContext context, string message)
Parameters
contextCsvContextThe context.
messagestringThe message that describes the error.
CsvHelperException(CsvContext, string, Exception)
Initializes a new instance of the CsvHelperException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public CsvHelperException(CsvContext context, string message, Exception innerException)
Parameters
contextCsvContextThe context.
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
CsvHelperException(string)
Initializes a new instance of the CsvHelperException class.
protected CsvHelperException(string message)
Parameters
messagestringThe message that describes the error.
CsvHelperException(string, Exception)
Initializes a new instance of the CsvHelperException class.
protected CsvHelperException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
Properties
Context
Gets the context.
public CsvContext? Context { get; }