protected override void OnNetworkError(Exception e, bool closeConnection)
        {
            try
            {
                _handler.OnNetworkError(this, _assoc as ClientAssociationParameters, e);
            }
            catch (Exception ex)
            {
                Platform.Log(LogLevel.Error, ex, "Unexpected exception when calling IDicomClientHandler.OnNetworkError");
            }

            _closedOnError = true;
            if (closeConnection)
            {
                CloseNetwork(System.Threading.Timeout.Infinite);
            }
        }
Exemple #2
0
        protected override void OnNetworkError(Exception e, bool closeConnection)
        {
            try
            {
                _handler.OnNetworkError(this, _assoc as ClientAssociationParameters, e);
            }
            catch (Exception ex)
            {
                LogAdapter.Logger.TraceException(ex);
            }

            _closedOnError = true;
            if (closeConnection)
            {
                CloseNetwork(System.Threading.Timeout.Infinite);
            }
        }