Пример #1
0
 void RoleEnvironment_Changed(object sender, Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentChangedEventArgs e)
 {
     if (e.Changes.OfType <Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentConfigurationSettingChange>().Count() > 0)
     {
         BsmTimeTableLogger.Enabled = IsStatisticalLoggingEnabled();
         BsmTimeTableLogger.MinimalLoggedElapsedTime = GetMinimalLoggedElapsedTime();
     }
 }
Пример #2
0
 static void RoleEnvironment_Changed(object sender, Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentChangedEventArgs e)
 {
     if (e.Changes.OfType <Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentConfigurationSettingChange>().Count() > 0)
     {
         AlertSearchRadius  = GetAlertSearchDistance();
         QWarnAheadDistance = GetQWarnAheadDistance();
     }
 }