Raises the MembershipProvider.ValidatingPassword event if an event handler has been defined.
- args
- Documentation for this section has not yet been entered.
The MembershipProvider.OnValidatingPassword(ValidatePasswordEventArgs) virtual method is used during the MembershipProvider.CreateUser(string, string, string, string, string, bool, object, MembershipCreateStatus@), MembershipProvider.ChangePassword(string, string, string), and MembershipProvider.ResetPassword(string, string) methods to raise the MembershipProvider.ValidatingPassword event if a System.Web.Security.MembershipValidatePasswordEventHandler has been specified. The e parameter is used to pass a System.Web.Security.ValidatePasswordEventArgs object to the System.Web.Security.MembershipValidatePasswordEventHandler event handler. When the MembershipProvider.ValidatingPassword event has completed, the properties of the System.Web.Security.ValidatePasswordEventArgs object supplied as the e parameter can be examined to determine whether the current action should be canceled and if a particular Exception, stored in the ValidatePasswordEventArgs.FailureInformation property, should be thrown.