ArgumentExceptions.OutOfRange method
namespace: Serenity assembly: Serenity.Net.Web
Creates an ArgumentOutOfRangeException for the given argument.
public static ArgumentOutOfRangeException OutOfRange(object argument, string paramName = null)
| parameter | description |
|---|---|
| argument | The argument value; ignored by this method. |
| paramName | The name of the parameter that caused the exception. |
Return Value
A new ArgumentOutOfRangeException instance.
See Also
- class ArgumentExceptions