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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.