ArgumentNullException()ArgumentNullException()ArgumentNullException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "Value cannot be null." This message takes into account the current system culture.

Parameters

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error and includes the parameter name. This message takes into account the current system culture.

This constructor initializes the ParamName property of the new instance using the paramName parameter. The content of paramName is intended to be understood by humans.

Parameters

Remarks

This constructor initializes the Message property of the new instance using the value of the message parameter. The content of the message parameter 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.

This constructor initializes the ParamName property of the new instance using the paramName parameter. The content of paramName is intended to be understood by humans.