Click or drag to resize

CodedArgumentNullException Constructor (String)

[This is preliminary documentation and is subject to change.]

Initializes a new instance of the CodedArgumentNullException class with the name of the parameter that causes this exception.

Namespace:  NerdyDuck.CodedExceptions
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public CodedArgumentNullException(
	string paramName
)
View Source

Parameters

paramName
Type: SystemString
The name of the parameter that caused the exception.
Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "Argument cannot be null." 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.

See Also