This exception is a subclass of ArgumentException and indicates that a method received an out-of-range parameter value.
public class ArgumentOutOfRangeException : ArgumentException { // Public Constructors public ArgumentOutOfRangeException( ); public ArgumentOutOfRangeException(string paramName); public ArgumentOutOfRangeException(string paramName, object actualValue, string message); public ArgumentOutOfRangeException(string paramName, string message); // Protected Constructors protected ArgumentOutOfRangeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); // Public Instance Properties public virtual object ActualValue{get; } public override string Message{get; } // overrides ArgumentException // Public Instance Methods public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); // overrides ArgumentException }
Object Exception(System.Runtime.Serialization.ISerializable) SystemException ArgumentException ArgumentOutOfRangeException