internal virtual void OnErrorOccurred(Exception innerException) { var eventargs = new FileTransmissionErrorOccurEventArgs(innerException); if (ErrorOccurred != null) { ErrorOccurred(this, eventargs); } if (!eventargs.Continue) { throw innerException; } }
internal virtual void OnErrorOccurred(Exception innerException) { var eventargs = new FileTransmissionErrorOccurEventArgs(innerException); if (ErrorOccurred != null) ErrorOccurred(this, eventargs); if (!eventargs.Continue) throw innerException; }