Constructors: NewArgumentOutOfRangeException

NewArgumentOutOfRangeException

Creates a new ArgumentOutOfRangeException object.



 Public Function NewArgumentOutOfRangeException(
	  Optional ByVal Message As String,
	  Optional ByVal ParamName As String,
	  Optional ByVal ActualValue As Variant,
	  Optional ByVal InnerException As Exception ) As ArgumentOutOfRangeException

Parameters

Message
[ByVal] Optional. String. A human-readable message explaining the exception.
ParamName
[ByVal] Optional. String. The parameter that caused the exception.
ActualValue
[ByVal] Optional. Variant. The value of the parameter that caused the exception.
InnerException
[ByVal] Optional. Exception. An exception that caused this exception.

Return Values

ArgumentOutOfRangeException -  A fully created AgrumentOutOfRangeException object.

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewArgumentNullException NewArray ArgumentOutOfRangeException