CommandLineArgumentErrorCategory Enumeration |
Specifies the kind of error that occurred while parsing arguments.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic enum CommandLineArgumentErrorCategory
Public Enumeration CommandLineArgumentErrorCategory
Dim instance As CommandLineArgumentErrorCategory
public enum class CommandLineArgumentErrorCategory
Members
| Member name | Value | Description |
---|
| Unspecified | 0 |
The category was not specified.
|
| ArgumentValueConversion | 1 |
The argument value supplied could not be converted to the type of the argument.
|
| UnknownArgument | 2 |
The argument name supplied does not name a known argument.
|
| MissingNamedArgumentValue | 3 |
An argument name was supplied, but without an accompanying value.
|
| DuplicateArgument | 4 |
An argument was supplied more than once.
|
| TooManyArguments | 5 |
Too many positional arguments were supplied.
|
| MissingRequiredArgument | 6 |
Not all required arguments were supplied.
|
| InvalidDictionaryValue | 7 |
Invalid value for a dictionary argument; typically the result of a duplicate key.
|
| CreateArgumentsTypeError | 8 |
An error occurred creating an instance of the arguments type (e.g. the constructor threw an exception).
|
| ApplyValueError | 9 |
An error occurred applying the value of the argument (e.g. the property set accessor threw an exception).
|
See Also