ApplicationStartPage 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。
public abstract class ApplicationStartPage : System.Web.WebPages.WebPageExecutingBase
type ApplicationStartPage = class
inherit WebPageExecutingBase
Public MustInherit Class ApplicationStartPage
Inherits WebPageExecutingBase
- 继承
构造函数
ApplicationStartPage() |
初始化 ApplicationStartPage 类的新实例。 |
字段
CacheKeyPrefix |
应用于由应用程序起始页添加到缓存的所有键的前缀。 |
StartPageVirtualPath |
应用程序起始页的路径。 |
属性
App |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
Application |
获取引用此应用程序启动页的 HTTP 应用程序对象。 |
AppState |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
Context |
HttpContextBase获取表示与此页关联的上下文数据的 对象。 |
Markup |
获取 HTML 编码字符串形式的应用程序起始页输出。 |
Output |
获取页的文本编写器。 |
VirtualPath |
获取或设置页的虚拟路径。 |
VirtualPathFactory |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
方法
BeginContext(Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
BeginContext(String, Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
BeginContext(TextWriter, Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
BeginContext(TextWriter, String, Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
EndContext(Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
EndContext(String, Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
EndContext(TextWriter, Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
EndContext(TextWriter, String, Int32, Int32, Boolean) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
Execute() |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
GetOutputWriter() |
返回用于呈现页面的文本编写器实例。 |
Href(String, Object[]) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
NormalizeLayoutPagePath(String) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
NormalizePath(String) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
Write(HelperResult) |
将指定的 HelperResult 对象写入 HTML 编码的字符串。 |
Write(Object) |
将指定对象的字符串表示形式作为 HTML 编码的字符串写入。 |
WriteAttribute(String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
WriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
WriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) |
提供用于执行和呈现 ASP.NET Web Pages 应用程序起始页(_AppStart.cshtml 或 _AppStart.vbhtml 文件)的对象和方法。 (继承自 WebPageExecutingBase) |
WriteLiteral(Object) |
无需 HTML 编码即可写入指定的对象。 |