Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ OnFillErrorHandler()

void System.Data.Common.DataAdapter.OnFillErrorHandler ( Exception e,
DataTable dataTable,
object[] dataValues )
inlineprivateinherited

Definition at line 710 of file DataAdapter.cs.

711 {
712 FillErrorEventArgs fillErrorEventArgs = new FillErrorEventArgs(dataTable, dataValues);
713 fillErrorEventArgs.Errors = e;
714 OnFillError(fillErrorEventArgs);
715 if (!fillErrorEventArgs.Continue)
716 {
717 if (fillErrorEventArgs.Errors != null)
718 {
719 throw fillErrorEventArgs.Errors;
720 }
721 throw e;
722 }
723 }
virtual void OnFillError(FillErrorEventArgs value)

References System.Data.FillErrorEventArgs.Continue, System.Data.FillErrorEventArgs.Errors, and System.Data.Common.DataAdapter.OnFillError().

Referenced by System.Data.Common.DataAdapter.FillLoadDataRow(), System.Data.Common.DataAdapter.FillLoadDataRowChunk(), System.Data.Common.DataAdapter.FillMapping(), and System.Data.Common.DataAdapter.FillNextResult().