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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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