ErrorFormatterPage.InitContent 方法
定义
基于检索到的错误信息初始化错误页的内容。Initializes the content of the error page, based on the error information retrieved. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
virtual void InitContent();
protected virtual void InitContent ();
abstract member InitContent : unit -> unit
override this.InitContent : unit -> unit
Protected Overridable Sub InitContent ()
注解
基实现创建呈现错误所需的移动控件。The base implementation creates the mobile controls necessary to render the error.
此属性为内部属性,自适应错误处理机制使用此属性。This property is internal and used by the adaptive error handling mechanism.