NullReferenceException

NullReferenceException CF 1.0, ECMA 1.0, serializable

System (mscorlib.dll) class

This exception is thrown when you try to dereference a null pointer (for example, accessing an instance field on an object reference that currently points to no instance).

 public class  NullReferenceException  : SystemException {  // Public Constructors  public  NullReferenceException  ( );    public  NullReferenceException  (string   message   );    public  NullReferenceException  (string   message   , Exception   innerException   );  // Protected Constructors  protected  NullReferenceException  (System.Runtime.Serialization.SerializationInfo   info   ,         System.Runtime.Serialization.StreamingContext   context   ); } 

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException NullReferenceException



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net