C # in a Nutshell, Second Edition

ArgumentNullException CF 1.0, ECMA 1.0, serializable

System (mscorlib.dll) class

This exception is a subclass of ArgumentException and indicates that a null parameter value was received by a method that does not accept nulls.

public class ArgumentNullException : ArgumentException { // Public Constructors public ArgumentNullException ( ); public ArgumentNullException (string paramName ); public ArgumentNullException (string paramName , string message ); // Protected Constructors protected ArgumentNullException (System.Runtime.Serialization.SerializationInfo info , System.Runtime.Serialization.StreamingContext context ); }

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException ArgumentException ArgumentNullException

Категории