ArgumentOutOfRangeException Constructor

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Overload List

Name Description
ArgumentOutOfRangeException()()() Initializes a new instance of the ArgumentOutOfRangeException class.
ArgumentOutOfRangeException(String) Initializes a new instance of the ArgumentOutOfRangeException class with the name of the parameter that causes this exception.
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.
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.
ArgumentOutOfRangeException(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.

Top

See Also

Reference

ArgumentOutOfRangeException Class

ArgumentOutOfRangeException Members

System Namespace