DynamicValidator.ValidationException Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets validation exception that occurs during validation.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

protected virtual Exception ValidationException { get; set; }

Property Value

Type: System.Exception

The validation exception that is thrown.

This property represents the validation exception that is thrown if an error occurs when a value is edited or when a new value is inserted into the data model.

.NET Framework
Available since 3.5
Return to top
Show: