ArgumentNullOrEmptyException

Thrown when a required argument is null or empty.

Namespace:
Inetdev
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.FrameworkException

Remarks

Used to report on a string value that must contains a value.

Example

This example throws the exception when an argument is not valid.


            if (IsInvalid(argumentName))
            {
                throw new ArgumentNullOrEmptyException(nameof(argumentName));
            }
            

Constructors

ArgumentNullOrEmptyException

Initializes a new instance of ArgumentNullOrEmptyException.

Signature:
public Void ArgumentNullOrEmptyException(argname)
Parameters
Name Type Summary
argname String

In this document