CommandLineArgumentException(String, CommandLineArgumentErrorCategory, Exception) Constructor

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

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public CommandLineArgumentException(
	string? message,
	CommandLineArgumentErrorCategory category,
	Exception? inner
)

Parameters

message  String
The error message that explains the reason for the CommandLineArgumentException.
category  CommandLineArgumentErrorCategory
The category of this error.
inner  Exception
The Exception that is the cause of the current CommandLineArgumentException, or a if no inner Exception is specified.

See Also