Class WriterException
- Namespace
- CsvHelper
- Assembly
- CsvHelper.dll
Represents errors that occur while writing a CSV file.
public class WriterException : CsvHelperException, ISerializable
- Inheritance
-
WriterException
- Implements
- Inherited Members
Constructors
WriterException(CsvContext)
Initializes a new instance of the WriterException class.
public WriterException(CsvContext context)
Parameters
contextCsvContextThe writing context.
WriterException(CsvContext, string)
Initializes a new instance of the WriterException class with a specified error message.
public WriterException(CsvContext context, string message)
Parameters
contextCsvContextThe writing context.
messagestringThe message that describes the error.
WriterException(CsvContext, string, Exception)
Initializes a new instance of the WriterException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public WriterException(CsvContext context, string message, Exception innerException)
Parameters
contextCsvContextThe writing 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.