LinqDataSourceView.OnException(DynamicValidatorEventArgs) Method
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.
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
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.