System.Web.Security.ValidatePasswordEventArgs.FailureInformation Property

Gets or sets an exception that describes the reason for the password-validation failure.

Syntax

public Exception FailureInformation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ValidatePasswordEventArgs.FailureInformation property is used when the current MembershipProvider.CreateUser(string, string, string, string, string, bool, object, MembershipCreateStatus@), MembershipProvider.ChangePassword(string, string, string), or MembershipProvider.ResetPassword(string, string) action has been canceled by setting the ValidatePasswordEventArgs.Cancel property to true.

The ValidatePasswordEventArgs.FailureInformation property is set to an exception that describes the reason for the password-validation failure. The calling method will throw the exception that the ValidatePasswordEventArgs.FailureInformation property is set to. If the ValidatePasswordEventArgs.FailureInformation property is null, the caller will throw a generic password-validation failure exception.

Requirements

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