Click or drag to resize

CodedArgumentNullOrWhiteSpaceException Constructor (String)

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

Initializes a new instance of the CodedArgumentNullOrWhiteSpaceException 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 CodedArgumentNullOrWhiteSpaceException(
	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 oe empty." 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