По всем этим ссылкам:
http://michaelwasham.com/2011/11/14/handy-library-for-dealing-with-transient-connectivity-in-the-cloud/
http://community.adxstudio.com/Default.aspx?DN=56cfea23-199b-4a59-ac68-7eb24de78760
http://convective.wordpress.com/2011/09/28/handling-transient-connection-failures-in-sql-azure/
они используют:
// Retrieve the retry policy settings from the application configuration file. RetryPolicyConfigurationSettings retryPolicySettings = ApplicationConfiguration.Current.GetConfigurationSection<RetryPolicyConfigurationSettings>(RetryPolicyConfigurationSettings.SectionName); // Retrieve the required retry policy definition by its friendly name. RetryPolicyInfo retryPolicyInfo = retryPolicySettings.Policies.Get(“FixedIntervalDefault”); // Create an instance of the respective retry policy using the transient error detection strategy for SQL Azure. RetryPolicy sqlAzureRetryPolicy = retryPolicyInfo.CreatePolicy<SqlAzureTransientErrorDetectionStrategy>();
Я не могу найти ни класс ApplicationConfiguration, ни класс RetryPolicyInfo. Какие ссылки мне не хватает?
Спасибо, Stevo