CommandLineArgumentException Constructor (String, String, CommandLineArgumentErrorCategory, Exception) |
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic CommandLineArgumentException(
string message,
string argumentName,
CommandLineArgumentErrorCategory category,
Exception inner
)
Public Sub New (
message As String,
argumentName As String,
category As CommandLineArgumentErrorCategory,
inner As Exception
)
Dim message As String
Dim argumentName As String
Dim category As CommandLineArgumentErrorCategory
Dim inner As Exception
Dim instance As New CommandLineArgumentException(message,
argumentName, category, inner)
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