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
context
CsvContext
CsvHelperException(CsvContext, string)
Initializes a new instance of the CsvHelperException class with a specified error message.
public CsvHelperException(CsvContext context, string message)
Parameters
context
CsvContextThe context.
message
stringThe 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
context
CsvContextThe context.
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe 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
message
stringThe message that describes the error.
CsvHelperException(string, Exception)
Initializes a new instance of the CsvHelperException class.
protected CsvHelperException(string message, Exception innerException)
Parameters
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe 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; }