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!

ArgumentNullException Constructor (String)

Initializes a new instance of the ArgumentNullException class with the name of the parameter that caused this exception to be thrown.

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

Parameters

parameterName
The name of the parameter that was passed a null value.

Remarks

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

Property Type Condition
InnerException null
Message The empty string.
System.ArgumentException.parameterName The parameter name string.

See Also

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