Name

ArgumentOutOfRangeException

Synopsis

This exception is a subclass of ArgumentException and indicates that a method received an out-of-range parameter value.

Public Class ArgumentOutOfRangeException : Inherits ArgumentException
' Public Constructors
   Public Sub New() 
   Public Sub New( ByVal paramName As String) 
   Public Sub New(ByVal paramName As String, 
        ByVal actualValue As Object, 
        ByVal message As String) 
   Public Sub New(ByVal paramName As String, 
        ByVal message As String) 
' Protected Constructors
   Protected Sub New(
        ByVal info As System.Runtime.Serialization.SerializationInfo, 
        ByVal context As System.Runtime.Serialization.StreamingContext) 
' Public Instance Properties
   Overridable Public ReadOnly Property ActualValue As Object  
   Overrides Public ReadOnly Property Message As String  
' Public Instance Methods
   Overrides Public Sub GetObjectData(
        ByVal info As System.Runtime.Serialization.SerializationInfo, 
        ByVal context As System.Runtime.Serialization.StreamingContext) 
End Class

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionArgumentException ArgumentOutOfRangeException

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.