CsvDeserializationErrorAction Enum

Specifies what the serializer does with an error, as returned by CsvSerializerOptions.DeserializationErrorHandler.

public enum CsvDeserializationErrorAction

Fields

NameValueDescription
Throw0The serializer throws the CsvException of CsvDeserializationErrorContext.Exception.
Ignore1The error is ignored: the member keeps its default value, or the column is ignored, and the record is returned.
SkipRecord2The record is not returned, and the serializer continues with the next record.