Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateUserError Event

CreateUserWizard.CreateUserError Event

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

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public event CreateUserErrorEventHandler CreateUserError

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

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

For more information about handling events, see Consuming Events.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft