title: Azure Table Storage: track retries
body: <p>I'm using the standard example from microsoft for inserting new entitys to a table.
  Is there a way to track if a retry was performed?</p>
  
  <p>Code:</p>
  
  <pre><code>CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
  CloudTable table = tableClient.GetTableReference("people");
  CustomerEntity customer1 = new CustomerEntity("Harp", "Walter");
  TableOperation insertOperation = TableOperation.Insert(customer1);
  table.Execute(insertOperation);
  </code></pre>
  
  <p>With TransientFaultHandlingFramework it was easy to do:</p>
  
  <pre><code>var retryPol = new RetryPolicy&lt;SqlAzureTransientErrorDetectionStrategy&gt;(retryStrategy); 
  retryPol.Retrying += (obj, eventArgs) =&gt;
  {
  var msg = String.Format("Retrying, CurrentRetryCount = {0} , Delay = {1}, Exception = {2}", eventArgs.CurrentRetryCount, eventArgs.Delay, eventArgs.LastException.Message);
  System.Diagnostics.Debug.WriteLine(msg);
  };
  </code></pre>