Click or drag to resize

CommandLineArgumentException Constructor (String, String, CommandLineArgumentErrorCategory, Exception)

Initializes a new instance of the CommandLineArgumentException class with a specified error message and argument name, and a reference to the inner Exception that is the cause of this CommandLineArgumentException.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public CommandLineArgumentException(
	string message,
	string argumentName,
	CommandLineArgumentErrorCategory category,
	Exception inner
)

Parameters

message
Type: SystemString
The error message that explains the reason for the CommandLineArgumentException.
argumentName
Type: SystemString
The name of the argument that was invalid.
category
Type: Ookii.CommandLineCommandLineArgumentErrorCategory
The category of this error.
inner
Type: SystemException
The Exception that is the cause of the current CommandLineArgumentException, or a if no inner Exception is specified.
See Also