ArgumentValidationAttributeErrorCategory Property

Gets the error category used for the CommandLineArgumentException when validation fails.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public virtual CommandLineArgumentErrorCategory ErrorCategory { get; }

Property Value

CommandLineArgumentErrorCategory
One of the values of the CommandLineArgumentErrorCategory enumeration. If not overridden in a derived class, the value is CommandLineArgumentErrorCategoryValidationFailed.

See Also