ArgumentOutOfRangeException Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ArgumentOutOfRangeException class.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodArgumentOutOfRangeException()

Initializes a new instance of the ArgumentOutOfRangeException class.

System_CAPS_protmethodArgumentOutOfRangeException(SerializationInfo, StreamingContext)

Initializes a new instance of the ArgumentOutOfRangeException class with serialized data.

System_CAPS_pubmethodArgumentOutOfRangeException(String)

Initializes a new instance of the ArgumentOutOfRangeException class with the name of the parameter that causes this exception.

System_CAPS_pubmethodArgumentOutOfRangeException(String, Exception)

Initializes a new instance of the ArgumentOutOfRangeException class with a specified error message and the exception that is the cause of this exception.

System_CAPS_pubmethodArgumentOutOfRangeException(String, Object, String)

Initializes a new instance of the ArgumentOutOfRangeException class with the parameter name, the value of the argument, and a specified error message.

System_CAPS_pubmethodArgumentOutOfRangeException(String, String)

Initializes a new instance of the ArgumentOutOfRangeException class with the name of the parameter that causes this exception and a specified error message.

Return to top
Show: