/// <summary> /// Returns the default retry policy dedicated to handling transient conditions with Windows Azure Service Bus. /// </summary> /// <returns>The retry policy for Windows Azure Service Bus with the corresponding default strategy (or the default strategy if no retry strategy definition for Windows Azure Service Bus was found).</returns> public static RetryPolicy GetDefaultAzureServiceBusRetryPolicy(this RetryManager retryManager) { Argument.NotNull(retryManager, nameof(retryManager)); return(new RetryPolicy(new ServiceBusTransientErrorDetectionStrategy(), retryManager.GetDefaultAzureServiceBusRetryStrategy())); }