UnsecuredLayoutsPageBase.OnPreInit method

Represents the method that handles the PreInit event.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Sub OnPreInit ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnPreInit(e)
protected override void OnPreInit(
    EventArgs e
)

Parameters

Remarks

This override calls the base method, then issues HTTP Error 404 if Web is a null reference (Nothing in Visual Basic) and AllowNullWeb is false.

See also

Reference

UnsecuredLayoutsPageBase class

UnsecuredLayoutsPageBase members

Microsoft.SharePoint.WebControls namespace