EntityDataSourceChangingEventArgs.Exception 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 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 Exception Exception { get; }

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
Show: