DefaultAuthenticationModule.Init(HttpApplication) 方法

定义

初始化 DefaultAuthenticationModule 对象。Initializes the DefaultAuthenticationModule object.

public:
 virtual void Init(System::Web::HttpApplication ^ app);
public void Init (System.Web.HttpApplication app);
abstract member Init : System.Web.HttpApplication -> unit
override this.Init : System.Web.HttpApplication -> unit
Public Sub Init (app As HttpApplication)

参数

app
HttpApplication

当前的 HttpApplication 实例。The current HttpApplication instance.

实现

注解

此方法不应从应用程序代码调用。This method is not intended to be called from application code.

Init方法可确保事件的 DefaultAuthenticationModule 处理中包括。The Init method ensures that the DefaultAuthenticationModule is included in the processing of events.

适用于