Exception Property
Collapse the table of content
Expand the table of content

EntityDataSourceChangingEventArgs.Exception Property


Gets the exception that was thrown while the data was being validated before the insert, update, or delete operation.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

Public ReadOnly Property Exception As Exception

Property Value

Type: System.Exception

The exception, if an error occurred; otherwise, a null reference (Nothing in Visual Basic).

.NET Framework
Available since 3.5
Return to top
© 2015 Microsoft