NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NullReferenceException Constructor (String)

Initializes an instance of NullReferenceException with a specified message.

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String _
)
[C#]
public NullReferenceException(
   string message
);
[C++]
public: NullReferenceException(
   String* message
);
[JScript]
public function NullReferenceException(
   message : String
);

Parameters

message
The message identifies the reason why the exception occurred.

Remarks

NullReferenceException inherits from the Exception class. This constructor sets the properties of the NullReferenceException object as follows:

Property Type Condition
InnerException null
Message The message string.

See Also

NullReferenceException Class | NullReferenceException Members | System Namespace | NullReferenceException Constructor Overload List