private static void OnSendRetryComplete(IAsyncResult result)
 {
     if (!result.CompletedSynchronously)
     {
         ReliableOutputConnection asyncState = (ReliableOutputConnection)result.AsyncState;
         try
         {
             asyncState.CompleteSendRetry(result);
         }
         catch (Exception exception)
         {
             if (Fx.IsFatal(exception))
             {
                 throw;
             }
             asyncState.RaiseOnException(exception);
         }
     }
 }
        static void OnSendRetryComplete(IAsyncResult result)
        {
            if (!result.CompletedSynchronously)
            {
                ReliableOutputConnection outputConnection = (ReliableOutputConnection)result.AsyncState;

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

                    outputConnection.RaiseOnException(e);
                }
            }
        }