Occurs when validation fails in a partial methods or when an exception is raised.
Assembly: System.Web.Entity (in System.Web.Entity.dll)
private abstract Exception : IEvent<EventHandler<DynamicValidatorEventArgs>, DynamicValidatorEventArgs> private override Exception : IEvent<EventHandler<DynamicValidatorEventArgs>, DynamicValidatorEventArgs>
The event is implemented to provide for compatibility with ASP.NET Dynamic Data. This event, defined by the IDynamicDataSource interface, is explicitly implemented by the EntityDataSource. A handler for this event cannot be registered in markup. It can be used only when the EntityDataSource instance is cast to an IDynamicDataSource interface.
When an object is created. This enables the partial methods on the object to raise exceptions during validation of property settings.
When an exception occurs during the execution of the query.
When an exception occurs during the execution of any INSERT, UPDATE, or DELETE operation.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.