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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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