XhtmlPageAdapter.HandleError(Exception, HtmlTextWriter) Método

Definición

Se llama si se produce un error no controlado en la página. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulte 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

Parámetros

e
Exception

Un objeto Exception.

writer
HtmlTextWriter

Un objeto HtmlTextWriter.

Devoluciones

false.

Implementaciones

Comentarios

Un adaptador puede elegir controlar el error y mostrar un mensaje de error. La XhtmlPageAdapter clase no hace nada y devuelve false.

Se aplica a

Consulte también