CommandLineArgumentException(String, String, CommandLineArgumentErrorCategory) Constructor

Initializes a new instance of the CommandLineArgumentException class with a specified error message, argument name and category.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public CommandLineArgumentException(
	string? message,
	string? argumentName,
	CommandLineArgumentErrorCategory category
)

Parameters

message  String
The message that describes the error.
argumentName  String
The name of the argument that was invalid.
category  CommandLineArgumentErrorCategory
The category of this error.

See Also