ArgumentOutOfRangeException Class


The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.

Namespace: Autodesk.Revit.Exceptions
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
[SerializableAttribute]
public class ArgumentOutOfRangeException : ArgumentException
Visual Basic
<SerializableAttribute> _
Public Class ArgumentOutOfRangeException _
	Inherits ArgumentException
Visual C++
[SerializableAttribute]
public ref class ArgumentOutOfRangeException : public ArgumentException

Inheritance Hierarchy

SystemObject
  SystemException
    Autodesk.Revit.ExceptionsApplicationException
      Autodesk.Revit.ExceptionsArgumentException
        Autodesk.Revit.ExceptionsArgumentOutOfRangeException

See Also