private void OnReceiveException(Exception exception) { ReceiveException?.Invoke(this, new ExceptionEventArgs(exception, null)); }
protected virtual void OnReceiveException(Exception exception) { ReceiveException?.Invoke(this, new ExceptionEventArgs(exception, null)); }