Namespace: System
NullReferenceException
The exception that is thrown when there is an attempt to dereference a null object reference.
Methods (1)
NullReferenceException(String)Constructor
Initializes a new instance of the NullReferenceException class with a specified error message.
| Parameter | Description |
|---|---|
| message | A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. |