Επεξεργασία

Κοινή χρήση μέσω


LinqDataSourceView.OnException(DynamicValidatorEventArgs) Method

Definition

Raises the Exception event when a data operation fails.

protected:
 virtual void OnException(System::Web::DynamicData::DynamicValidatorEventArgs ^ e);
protected virtual void OnException (System.Web.DynamicData.DynamicValidatorEventArgs e);
abstract member OnException : System.Web.DynamicData.DynamicValidatorEventArgs -> unit
override this.OnException : System.Web.DynamicData.DynamicValidatorEventArgs -> unit
Protected Overridable Sub OnException (e As DynamicValidatorEventArgs)

Parameters

e
DynamicValidatorEventArgs

The event data.

Remarks

The dynamic data framework uses the OnException event handler to handle validation exceptions when updating data or inserting data.

Applies to