共用方式為


FormsAuthenticationEventArgs(HttpContext) 建構函式

定義

初始化 FormsAuthenticationEventArgs 類別的新執行個體。

public:
 FormsAuthenticationEventArgs(System::Web::HttpContext ^ context);
public FormsAuthenticationEventArgs(System.Web.HttpContext context);
new System.Web.Security.FormsAuthenticationEventArgs : System.Web.HttpContext -> System.Web.Security.FormsAuthenticationEventArgs
Public Sub New (context As HttpContext)

參數

context
HttpContext

事件的背景。

備註

FormsAuthenticationModule會用所提供的context作為屬性值Context來構造一個FormsAuthenticationEventArgs物件。 接著將該物件傳遞 FormsAuthenticationEventArgsFormsAuthentication_OnAuthenticate 事件。

適用於

另請參閱