public static CreateFormattedException ( this exception ) : |
||
exception | this | |
return |
public static ArgumentOutOfRangeException CreateFormattedException(this ArgumentOutOfRangeException exception)
{
return new ArgumentOutOfRangeException(
exception.ParamName,
exception.ActualValue,
string.Format(CultureInfo.InvariantCulture,
Resources.FormattedArgumentOutOfRangeExceptionMessageTemplate,
exception.Message));
}
}
ExceptionExtensions::CreateFormattedException ( this cloudException ) : CloudException |