title: Whats the correct code for Microsoft.Practices.TransientFaultHandling.RetryPolicy?
body: <p>I use following code:</p>
  
  <p>Create a retry policy, when error, retry after 1 second, then wait 3 seconds, then 5 seconds. based on Azure SLA, retry within 10 seconds must success (No throttled, I sure this. because error even happens on unique partition and table which no traffic yet)</p>
  
  <pre><code>var retryStrategy = new Incremental(3, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(2));
  var FaultHandlingRetryPolicy = new RetryPolicy&lt;StorageTransientErrorDetectionStrategy&gt;(retryStrategy);
  </code></pre>
  
  <p>Then I use this code to get data</p>
  
  <pre><code>FaultHandlingRetryPolicy .ExecuteAction(() =&gt;
          {
              var results = (from q in Query select new q).ToList();
          });
  </code></pre>
  
  <p>I DO NOT KNOW if its retried or not, because the error log not shown</p>
  
  <p>Errors:</p>
  
  <pre><code>System.Net.WebException: Unable to connect to the remote server ---&gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 70.37.127.112:443
     at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
     at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp; socket, IPAddress&amp; address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception&amp; exception)
     --- End of inner exception stack trace ---
     at System.Net.HttpWebRequest.GetResponse()
     at System.Data.Services.Client.QueryResult.Execute()
     at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
     at System.Data.Services.Client.DataServiceQuery`1.Execute()
     at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()
     at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
     at Microsoft.Practices.TransientFaultHandling.RetryPolicy.&lt;&gt;c__DisplayClass1.&lt;ExecuteAction&gt;b__0()
     at Microsoft.Practices.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
  </code></pre>
  
  <p>Please let me know if this code will retry, thanks</p>