private static void OnErrorExportData(OnErrorExportDataEventArgs e) { Console.WriteLine( "Ошибка при экспорте данных." + "Критическая: {0}\n" + "\n" + "Содержимое события:\n" + "{1}" + "\n" + "Информация об ошибке:\n" + "\n" + "{2}", e.Critical, e.SourceData, e.Exception); }
private static void OnErrorExportData(OnErrorExportDataEventArgs e) { throw e.Exception; }
private void OnErrorExportDataToBuffer(OnErrorExportDataEventArgs e) { RaiseOnError(new OnErrorExportSharedBufferEventArgs( new ExportSharedBufferException("Export data to buffer failed.", e.Exception, null))); }
private static void OnErrorExportData(OnErrorExportDataEventArgs e) { Console.WriteLine(e.Exception.ToString()); }