Ejemplo n.º 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();
     }
 }
Ejemplo n.º 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();
     }
 }