XhtmlPageAdapter.HandleError(Exception, HtmlTextWriter) 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.
Called if an unhandled error occurs on the page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual bool HandleError(Exception ^ e, System::Web::UI::HtmlTextWriter ^ writer);
public virtual bool HandleError (Exception e, System.Web.UI.HtmlTextWriter writer);
abstract member HandleError : Exception * System.Web.UI.HtmlTextWriter -> bool
override this.HandleError : Exception * System.Web.UI.HtmlTextWriter -> bool
Public Overridable Function HandleError (e As Exception, writer As HtmlTextWriter) As Boolean
Parameters
- writer
- HtmlTextWriter
An HtmlTextWriter object.
Returns
false
.
Implements
Remarks
An adapter can choose to handle the error and display an error message. The XhtmlPageAdapter class does nothing and returns false
.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.