System.ArgumentOutOfRangeException Class
Information   Base Types   Related Resources

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: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.ArgumentException
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (16)Discussions (180)MembersRotorChanges
    Articles

    Page: 1
    A Resource Server Handler Class For Custom Controls
    The Code Project
    A class implementing IHttpHandler for use in custom controls, to send embedded resources such as scripts, images, and style sheets to the client.
    BetterCalendar WebControl
    The Code Project
    A replacement for the System.Web.UI.WebControls.Calendar control.
    Building a Web Service to Provide Real-Time Stock Quotes
    DotNetJunkies
    There are many benefits to using a Web Service, including the versatility of the client that consumes the Web Service and the reusability of the code. This article provides an example of a useful Web Service that provides real-time stock quotes through information scraped from public Web sites.
    Changing printer setting using C#
    The Code Project
    Changing printer setting using C#
    Counting Semaphore (Dijkstra) in C#
    The Code Project
    C# implementation of a Dijkstra counting Semaphore.
    Data Structures : Part 1 - Singly Linked Lists
    The Code Project
    An easy implementation of a singly linked list
    DisplayForm.jsl Source File for PerfMon Sample
    http://www.kbalertz.com/
    (325910) - The DisplayForm.jsl Java language source file is required for the Visual J# .NET PerfMon sample to run.
    Enable ReadOnly Mode for your WebForms!
    The Code Project
    this article will show you, how to implement a readonly mode for webforms
    Extolling the Virtues of Enumerated Types
    MSDN
    Most programmers are already familiar with enumerated types. But just to review, an enumerated type defines a set of symbolic names and values. Of course, a programmer can always write a program using 0 to represent red, 1 to represent green, and so on. However, there are at least two reasons why you shouldn't hardcode numbers into their code and should instead use an enumerated type.
    FIX: "System.ArgumentOutOfRangeException: Index Was Out of Range" Error Occurs with SqlClient.SqlConnection.Open()
    http://www.kbalertz.com/
    When you have an application that uses ASP.NET and System.Data.SqlClient with the SqlConnection.ConnectionString property Pooling value set to true , you may receive the following exception error message during a call to...
    FIX: System.ArgumentOutOfRangeException occurs intermittently with ADO.NET
    http://www.kbalertz.com/
    (836874) - In an ADO.NET application, you may intermittently receive the following exception error message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
    FIX: System.ArgumentOutOfRangeException occurs intermittently with ADO.NET
    http://www.kbalertz.com/
    (836874) - In an ADO.NET application, you may intermittently receive the following exception error message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
    NumberBox ASP.NET Control
    http://www.reflectionit.nl/
    The NumberBox control is an ASP.NET control, which lets the user only input numerical values. The base class of NumberBox class is the TextBox class. It uses JavaScript to validate the KeyPress event. An extra RegularExpresionValidator can be used to validate the control.
    Read Tables from SAP R/3 using SAP.NET Connector
    The Code Project
    Reading SAP R/3 made easy.
    String Extraction And Insertion In C#
    C# Help
    Writing Exceptional Code
    MSDN
    I've had some interesting discussions recently about the move from the "error code" style of error handling to the use of exceptions in the .NET world, and that's the main reason I've decided to devote a couple of columns to the subject (the secondary reason being that my column is due tomorrow, and I haven't thought of any other topics).
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com