HttpApplication.Init 方法

定义

在添加所有事件处理程序模块之后执行自定义初始化代码。Executes custom initialization code after all event handler modules have been added.

public:
 virtual void Init();
public virtual void Init ();
abstract member Init : unit -> unit
override this.Init : unit -> unit
Public Overridable Sub Init ()

注解

在派生类中,可以重写 Init 方法,以添加自定义的一次性初始化代码。In a derived class, you can override the Init method to add custom one-time initialization code.

适用于