public void Abort() { foreach (IPersistencePipelineModule module in _modules) { try { module.Abort(); } catch (Exception exception) { if (Fx.IsFatal(exception)) { throw; } throw Fx.Exception.AsError(new CallbackException(SRCore.PersistencePipelineAbortThrew(module.GetType().Name), exception)); } } }
private void Abort() { for (int j = 0; j < _pendingModules.Length; j++) { IPersistencePipelineModule module = _pendingModules[j]; if (module != null) { try { module.Abort(); } catch (Exception exception) { if (Fx.IsFatal(exception)) { throw; } throw Fx.Exception.AsError(new CallbackException(SRCore.PersistencePipelineAbortThrew(module.GetType().Name), exception)); } } } }