Table of Contents

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 CsvContext

The context.

message string

The 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 CsvContext

The context.

message string

The error message that explains the reason for the exception.

innerException Exception

The 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 string

The message that describes the error.

CsvHelperException(string, Exception)

Initializes a new instance of the CsvHelperException class.

protected CsvHelperException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The 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; }

Property Value

CsvContext