Class ParseErrorEventArgs
Provides data for the CsvReader.ParseError event.
Inheritance
System.Object
System.EventArgs
ParseErrorEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.IO.Events
Assembly: Mars.IO.dll
Syntax
public class ParseErrorEventArgs : EventArgs
Constructors
| Improve this Doc View SourceParseErrorEventArgs(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
| Improve this Doc View SourceAction
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. |