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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.