Gets the type of ValidationRule that raised this ValidationError.

Namespace:  Mindscape.LightSpeed.Validation
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public Type RuleType { get; }
Visual Basic (Declaration)
Public ReadOnly Property RuleType As Type

Remarks

This may be null if the error does not correspond to a specific rule (for example, an 'associated entity has errors' error) or a custom validation rule does not provide the information when raising the error.

See Also