Microsoft.Azure.Commands.DataFactories.ExceptionExtensions.CreateFormattedException C# (CSharp) Method

CreateFormattedException() public static method

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

Same methods

ExceptionExtensions::CreateFormattedException ( this cloudException ) : CloudException