Class ParseErrorEventArgs
Provides data for the CsvReader.ParseError event.
Inheritance
EventArgs
ParseErrorEventArgs
Namespace: Mars.Common.IO.Events
Assembly: Mars.IO.dll
Syntax
public class ParseErrorEventArgs : EventArgs
Constructors
ParseErrorEventArgs(MalformedCsvException, ParseErrorAction)
Initializes a new instance of the ParseErrorEventArgs class.
Declaration
public ParseErrorEventArgs(MalformedCsvException error, ParseErrorAction defaultAction)
Parameters
Type | Name | Description |
---|---|---|
MalformedCsvException | error | The error that occurred. |
ParseErrorAction | defaultAction | The default action to take. |
Properties
Action
Gets or sets the action to take.
Declaration
public ParseErrorAction Action { get; }
Property Value
Type | Description |
---|---|
ParseErrorAction | The action to take. |
Error
Gets the error that occurred.
Declaration
public MalformedCsvException Error { get; }
Property Value
Type | Description |
---|---|
MalformedCsvException | The error that occurred. |