System.ArgumentNullException Class
Information   Base Types   Related Resources

The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

  • 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 (26)Discussions (201)MembersRotorChanges
    Articles

    Page: 12
    A Dictionary Collection Sorting By Value
    The Code Project
    An article on creating a custom collection like the SortedList that sort entries by value instead of by key
    Advanced Data Mapping in .NET
    DotNetJunkies
    In this article, Tin demonstrates 3 automated mechanisms for data mapping: mapping from Database table columns to object properties, mapping from HTML form fields to object properties, mapping from ASP.NET Web controls to object properties.
    An introduction to Web Service Security using WSE - Part I
    The Code Project
    This article explains the first steps to build secure Web Services. It introduces the WSE specification and a first authenication mechnism based on username identifiction and password validation.
    An introduction to Web Service Security using WSE - Part I
    The Code Project
    This article explains the first steps to build secure Web Services. It introduces the WSE specification and the easiest authentication mechanism based on username identification and password validation.
    Build an AOP.NET Extensible Business Component using ContextBoundModel
    The Code Project
    Aspect-Oriented Programming and the DotNet Implementation - ContextBoundModel
    Build an AOP.NET Extensible Business Components using ContextBoundModel
    The Code Project
    Aspect-Oriented Programming and the DotNet Implementation - ContextBoundModel
    C# From a Java Developer's Perspective
    http://www.25hoursaday.com/
    What follows is an overview of similarities and differences between the language features and libraries of the C# and Java programming languages based on my experience using both languages. All code snippets below were tested on Microsoft's .NET Framework Beta 2 for C# snippets and Java™ 2, Standard Edition (J2SE™) version 1.4 Beta 2 for the Java snippets.
    Configuration Management for Smart Device Applications
    The Code Project
    This utility helps you in configuring .NET Compact Framework applications.
    Creating multilingual websites - Part 2
    The Code Project
    Creating multilingual websites - Part 2
    Custom String Formatting in .NET
    The Code Project
    Discusses the implementation of custom format providers for existing t ypes and custom formatting for user-defined types.
    Error Handling in Visual Basic .NET
    MSDN
    Discusses how error handling differs between Visual Basic .NET and Visual Basic 6.0. Main topics include Try/Catch blocks, Exception objects, procedure callers, and how to create your own Exception classes.
    Exposing Type Information
    C#Today
    In his previous article, Morgan Skinner looked at the TypeDescriptor class, and how it could be used to retrieve various pieces of information from a type (or object). In certain situations however, you might want to augment or bypass the information returned from the TypeDescriptor, and in order to do this you need to implement the ICustomTypeDescriptor interface on your type. In this article, Morgan examines the ICustomTypeDescriptor interface, and show some examples of where it might be used, such as to to construct a list of properties on the fly when reading records from a database and displaying them on screen. Using the ICustomTypeDescriptor interface, it is possible to give each record its own list of properties, which might be useful if you want to permit or deny access to those properties based on some row level security settings.
    GUnit, Generative Unit Test Framework
    The Code Project
    A new highly flexible unit test framework with new fixtures
    HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET
    http://www.kbalertz.com/
    (306355) - This article describes how to use Visual C# .NET code to trap and respond to errors when they occur in ASP.NET. ASP.NET has improved the error handling options from traditional Microsoft Active Server Pages (ASP). In ASP.NET, you can handle errors at...
    HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET
    Microsoft Support
    (306355) - This article describes how to use Visual C# .NET code to trap and respond to errors when they occur in ASP.NET. ASP.NET has improved the error handling options from traditional Microsoft Active Server Pages (ASP). In ASP.NET, you can handle errors at...
    HOW TO: Create Custom Error Reporting Pages in ASP.NET Using Visual Basic .NET
    http://www.kbalertz.com/
    (308132) - This article describes how to use Visual Basic .NET code to trap and respond to errors when they occur in ASP.NET. ASP.NET has improved the error handling options from traditional Microsoft Active Server Pages (ASP). In ASP.NET, you can handle errors...
    Implementing a Custom Filter for WSE
    DotNetJunkies
    Web Services Enhancements 1.0 for Microsoft .NET (WSE) provides the ability to incorporate security, routing, and attachment capabilities in XML Web services. It also provides an extensible framework to incorporate other features such as custom message filtering. This article will briefly describe the WSE architecture along with its extensibility mechanism through custom filters. It will also provide an example of a custom WSE output filter that facilitates targeting Groove Web Services (GWS) SOAP endpoints
    MbUnit : Generative Unit Test Framework
    The Code Project
    A new highly flexible unit test framework with new fixtures
    Multithreaded Programming using C#
    The Code Project
    Threading is a lightweight process. With the help of threads we can increase the response time of the application. To use multithreading we have to use the Threading namespace which is included in System. The System.Threading namespace includes everything we need for multi threading. Now lets see the first program.
    Refly, makes the CodeDom'er life easier
    The Code Project
    A smart wrapper around CodeDom that speeds up code generation.
    SOAP Message Level Security using User Name and Secure Password over an Unsecure Transport
    The Code Project
    An article on providing message level security to SOAP messages
    Sorting Algorithms In C#
    The Code Project
    A collection of sorting algorithms implementing customizable comparitor and swapper functions.
    The Well-Tempered Exception
    MSDN
    A few months ago, I was writing some code and I came across an Exception class that didn't work the way I expected. I wanted to catch an exception and then wrap it in an exception of the same type. However there wasn't a constructor that took an exception, so I couldn't do it. In other words, the class designer hadn't included the (string message, Exception inner) constructor.
    Visual Basic .NET Upgrade Case Study: MDI Notepad
    MSDN
    This article walks through the upgrade of a Microsoft® Visual Basic® 6.0 Graphical User Interface (GUI) sample application (MDI Notepad) to Visual Basic .NET using Microsoft® Visual Studio® .NET. It includes additional suggestions for taking greater advantage of the Visual Basic .NET application framework.
    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