CreateUserWizard.CreateUserError Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 NIB: Consuming Events.

.NET Framework
Available since 2.0
Return to top
Show: