CsvBadDataAction Enum
Specifies what the reader does with malformed data, as returned by CsvReaderOptions.BadDataHandler.
public enum CsvBadDataActionFields
| Name | Value | Description |
|---|---|---|
Throw | 0 | The reader throws the CsvException of CsvBadDataContext.Exception, as in strict mode. |
Accept | 1 | The data is read as when CsvReaderOptions.Strict is false, and the record is returned. |
Skip | 2 | The record is not returned, and the reader continues with the next record. |