Example #1
0
 public static bool DisableGenericExceptionHandler()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("DisableGenericExceptionHandler", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("DisableGenericExceptionHandler"));
     return(true);
 }
Example #2
0
 public static bool SuppressLimitOnNumberOfActivations()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SuppressLimitOnNumberOfActivations", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SuppressLimitOnNumberOfActivations"));
     return(true);
 }
Example #3
0
 public static bool SkipSemanticValidation()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SkipSemanticValidation", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SkipAllSemanticValidation"));
     return(true);
 }
Example #4
0
 public static bool SkipApplicationDependencyHashCheck()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SkipApplicationDependencyHashCheck", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SkipApplicationDependencyHashCheck"));
     return(true);
 }
Example #5
0
 public static bool SkipDeploymentProvider()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SkipDeploymentProvider", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SkipDeploymentProvider"));
     return(true);
 }
Example #6
0
 public static bool RequireHashInManifests()
 {
     return(PolicyKeys.CheckDeploymentBoolString("RequireHashInManifests", true, false));
 }