DefaultAuthenticationModule.Authenticate Event
Defines the event raised by the DefaultAuthenticationModule. Used by the DefaultAuthentication_OnAuthenticate handler, if one exists.
[Visual Basic] Public Event Authenticate As DefaultAuthenticationEventHandler [C#] public event DefaultAuthenticationEventHandler Authenticate; [C++] public: __event DefaultAuthenticationEventHandler* Authenticate;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type DefaultAuthenticationEventArgs containing data related to this event. The following DefaultAuthenticationEventArgs property provides information specific to this event.
| Property | Description |
|---|---|
| Context | Gets the HttpContext object for the current HTTP request. |
Remarks
When you create a DefaultAuthenticationModule delegate, you identify the method to handle the event. To associate the event with your EventHandler, add an instance of the delegate to the event. The EventHandler is called whenever the event occurs, unless you remove the delegate. For more information about EventHandler delegates, see Events and Delegates.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
DefaultAuthenticationModule Class | DefaultAuthenticationModule Members | System.Web.Security Namespace