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: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
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