static RetryPolicyFactory()
 {
     var strategy = new FixedInterval("fixed", 10, TimeSpan.FromSeconds(3));
     var strategies = new List<RetryStrategy> { strategy };
     var manager = new RetryManager(strategies, "fixed");
     RetryManager.SetDefault(manager);
 }
 public AzureActivityRepository()
 {
     // set up retry strategy [EnterpriseLibrary Transient Fault Handling Block]
     var strategy = new FixedInterval("fixed", 10, TimeSpan.FromSeconds(3));
     var strategies = new List<RetryStrategy> { strategy };
     var manager = new RetryManager(strategies, "fixed");
     RetryManager.SetDefault(manager, false);
 }