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 來建構 FormsAuthenticationEventArgs 物件,做為 屬性的值 Context 。 然後,它會將 FormsAuthenticationEventArgs 物件傳遞至 FormsAuthentication_OnAuthenticate 事件。

適用於

另請參閱