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对象。 然后,它将对象 FormsAuthenticationEventArgs 传递给 FormsAuthentication_OnAuthenticate 事件。

适用于

另请参阅