Create an ArgumentOutOfRangeException
Namespace: log4net.UtilAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- parameterName
- Type: System String
The name of the parameter that caused the exception
- actualValue
- Type: System Object
The value of the argument that causes this exception
- message
- Type: System String
The message that describes the error
Return Value
Type: ArgumentOutOfRangeExceptionthe ArgumentOutOfRangeException object
Remarks
Create a new instance of the ArgumentOutOfRangeException class with a specified error message, the parameter name, and the value of the argument.
The Compact Framework does not support the 3 parameter constructor for the ArgumentOutOfRangeException type. This method provides an implementation that works for all platforms.
See Also