Redigera

Dela via


ErrorFormatterPage.OnInit(EventArgs) Method

Definition

Called after an object, such as a form or a page, is initialized. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 override void OnInit(EventArgs ^ e);
protected override void OnInit (EventArgs e);
override this.OnInit : EventArgs -> unit
Protected Overrides Sub OnInit (e As EventArgs)

Parameters

e
EventArgs

An EventArgs object that contains the event data.

Exceptions

there is no exception stored in the HttpContext.

Remarks

This method overrides the Page.OnInit method to customize the event data for the adapter.

Applies to

See also