System.Web.UI.WebControls.PasswordRecovery.OnVerifyingUser Method

Raises the PasswordRecovery.VerifyingUser event.

Syntax

protected virtual void OnVerifyingUser (LoginCancelEventArgs e)

Parameters

e
A System.ComponentModel.CancelEventArgs that contains the event data.

Remarks

The PasswordRecovery.OnVerifyingUser(LoginCancelEventArgs) method is called after the user submits a user name on the initial screen and before the user name is validated by the membership provider. The default implementation raises the PasswordRecovery.VerifyingUser event.

Raising an event invokes the event handler through a delegate. For more information, see Events and Delegates.

The PasswordRecovery.OnVerifyingUser(LoginCancelEventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0