System.Web.UI.WebControls.CreateUserWizard.CreateUserError Event

Occurs when the membership provider cannot create the specified user account.

Syntax

public event CreateUserErrorEventHandler CreateUserError

Remarks

The CreateUserWizard.CreateUserError event is raised on the server when the membership provider specified in the CreateUserWizard.MembershipProvider property fails to create the specified user account.

The error handler is passed a System.Web.Security.MembershipCreateStatus object that contains the details of the failure from the membership provider. For a list of the possible error conditions, see System.Web.Security.MembershipCreateStatus.

For more information about handling events, see Consuming Events.

Requirements

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