ClassValidationAttributeErrorCategory 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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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