This documentation is archived and is not being maintained.

ArgumentOutOfRangeException Constructor

Initializes a new instance of the ArgumentOutOfRangeException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ArgumentOutOfRangeException() Initializes a new instance of the ArgumentOutOfRangeException class.
Public method ArgumentOutOfRangeException(String) Initializes a new instance of the ArgumentOutOfRangeException class with the name of the parameter that causes this exception.
Protected method ArgumentOutOfRangeException(SerializationInfo, StreamingContext) Initializes a new instance of the ArgumentOutOfRangeException class with serialized data.
Public method ArgumentOutOfRangeException(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.
Public method ArgumentOutOfRangeException(String, String) Initializes a new instance of the ArgumentOutOfRangeException class with a specified error message and the name of the parameter that causes this exception.
Public method ArgumentOutOfRangeException(String, Object, String) Initializes a new instance of the ArgumentOutOfRangeException class with a specified error message, the parameter name, and the value of the argument.
Top
Show: