UnsecuredLayoutsPageBase.OnPreInit 方法

表示处理PreInit事件的方法。

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overrides Sub OnPreInit ( _
    e As EventArgs _
)
用法
Dim e As EventArgs

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

参数

备注

此重写调用基方法,然后,如果Web是空引用(无 在 Visual Basic 中)并且AllowNullWebfalse发出 HTTP 错误 404。

另请参阅

引用

UnsecuredLayoutsPageBase 类

UnsecuredLayoutsPageBase 成员

Microsoft.SharePoint.WebControls 命名空间