IPageAdapter.HandleError Method (Exception, HtmlTextWriter)

 

Returns true if it handles the error. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

bool HandleError(
	Exception e,
	HtmlTextWriter writer
)

Parameters

e
Type: System.Exception

System exception event.

writer
Type: System.Web.UI.HtmlTextWriter

The HtmlTextWriter object.

Return Value

Type: System.Boolean

true if the page adapter handles the error; otherwise, false.

This method is called if an unhandled exception occurs during the life cycle of the page.

.NET Framework
Available since 1.1
Return to top
Show: