ExceptionPolicyImpl has multiple constructors of length 2
Change
public static bool HandleException(Exception e, string policyName)
{
try
{
return ExceptionPolicy.HandleException(e, policyName);
}
catch (System.Configuration.ConfigurationErrorsException)
{
return true;
}
}
{
try
{
return ExceptionPolicy.HandleException(e, policyName);
}
catch (System.Configuration.ConfigurationErrorsException)
{
return true;
}
}
To this:
public static bool HandleException(Exception e, string policyName)
{
try
{
Exception ex;
return ExceptionPolicy.HandleException(e, policyName, out ex);
}
catch (System.Configuration.ConfigurationErrorsException)
{
return true;
}
}
{
try
{
Exception ex;
return ExceptionPolicy.HandleException(e, policyName, out ex);
}
catch (System.Configuration.ConfigurationErrorsException)
{
return true;
}
}
No comments:
Post a Comment