Represents the exception that is thrown when a CSV file is malformed.
Inheritance: System.Exception
コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the ParseErrorEventArgs class.
 /// </summary>
 /// <param name="error">The error that occured.</param>
 /// <param name="defaultAction">The default action to take.</param>
 public ParseErrorEventArgs(MalformedCsvException error, ParseErrorAction defaultAction)
     : base()
 {
     _error  = error;
     _action = defaultAction;
 }
コード例 #2
0
		/// <summary>
		/// Initializes a new instance of the ParseErrorEventArgs class.
		/// </summary>
		/// <param name="error">The error that occured.</param>
		/// <param name="defaultAction">The default action to take.</param>
		public ParseErrorEventArgs(MalformedCsvException error, ParseErrorAction defaultAction)
			: base()
		{
			_error = error;
			_action = defaultAction;
		}