UnsecuredLayoutsPageBase.OnPreInit Method
Represents the method that handles the PreInit event.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub OnPreInit ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnPreInit(e)
protected override void OnPreInit(
EventArgs e
)
Parameters
e
Type: System.EventArgsAn EventArgs that contains the event data.
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