Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ExceptionAction.OnInvalid Method

Called when associated validator is invalid.

[Visual Basic]
Protected Overrides Sub OnInvalid( _
   ByVal validationContext As Object, _
   ByVal contextParams As IDictionary, _
   ByVal errors As IValidationErrors _
)
[C#]
protected override void OnInvalid(
   object validationContext,
   IDictionary contextParams,
   IValidationErrors errors
);

Parameters

validationContext
Validation context.
contextParams
Additional context parameters.
errors
Validation errors container.

See Also

ExceptionAction Class | Spring.Validation.Actions Namespace