Uređivanje

Dijeli putem


DynamicValidatorEventArgs.Exception Property

Definition

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