private static void SendRetries(object state)
        {
            ReliableOutputConnection connection = (ReliableOutputConnection)state;

            try
            {
                connection.SendRetries();
            }
            catch (Exception exception)
            {
                if (Fx.IsFatal(exception))
                {
                    throw;
                }
                connection.RaiseOnException(exception);
            }
        }
        static void SendRetries(object state)
        {
            ReliableOutputConnection outputConnection = (ReliableOutputConnection)state;

            try
            {
                outputConnection.SendRetries();
            }
#pragma warning suppress 56500 // covered by FxCOP
            catch (Exception e)
            {
                if (Fx.IsFatal(e))
                {
                    throw;
                }

                outputConnection.RaiseOnException(e);
            }
        }