แก้ไข

แชร์ผ่าน


FormsAuthenticationModule.Init(HttpApplication) Method

Definition

Initializes the FormsAuthenticationModule 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)

Parameters

app
HttpApplication

The current HttpApplication instance.

Implements

Remarks

This method is not intended to be called from application code.

The Init method ensures that the FormsAuthenticationModule is included in the processing of the AuthenticateRequest and EndRequest events.

Applies to

See also