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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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