NewArgumentOutOfRangeException
Creates a new ArgumentOutOfRangeException object.
Public Function NewArgumentOutOfRangeException(
Optional ByRef ParamName As String,
Optional ByRef Message As String,
Optional ByRef ActualValue As Variant,
Optional ByVal InnerException As Exception,
Optional Method As InvocationMethod ) As ArgumentOutOfRangeException
Parameters
- ParamName
-
[ByRef]
Optional.
String.
The parameter that caused the exception.
- Message
-
[ByRef]
Optional.
String.
A human-readable message explaining the exception.
- ActualValue
-
[ByRef]
Optional.
Variant.
The value of the parameter that caused the exception.
- InnerException
-
[ByVal]
Optional.
Exception.
An exception that caused this exception.
- Method
-
[ByRef]
Optional.
InvocationMethod.
Describes the type of method being executed which caused the exception.
Return Values
ArgumentOutOfRangeException - A fully created ArgumentOutOfRangeException object.
See Also
Project CorLib Overview
Class Constructors Overview
ArgumentOutOfRangeException