NullReferenceException CLASS

Exception caused by attempting to dereference a variable that is null. This can be created by the engine when it is trying to dereference a null variable or intermediate value, but a user may also create this exception pre-emptively as part of the argument check.

Parent Class

All Members


TypeNameSignature
constructorNullReferenceExceptionpublic NullReferenceException()

Constructors


public NullReferenceException()

Create a standard NullReferenceException instance. The message for this exception is fixed.