DynamicValidatorEventArgs.Exception Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the exception that occurs during a data source operation event.
public:
property Exception ^ Exception { Exception ^ get(); };
public Exception Exception { get; }
member this.Exception : Exception
Public ReadOnly Property Exception As Exception
Property Value
The exception that occurred during the data source operation event.
Remarks
ASP.NET Dynamic Data provides data source operations that can be performed by a data source object. These operations include Delete
, Insert
, Select
and Update
and ContextCreate
. If an exception occurs, the DynamicValidator class uses this property to get the type of exception that is triggered during a data source operation.
Applies to
.NET